MCPcopy Create free account
hub / github.com/WebAssembly/wabt / OnAtomicStoreExpr

Method OnAtomicStoreExpr

src/interp/binary-reader-interp.cc:1054–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054Result BinaryReaderInterp::OnAtomicStoreExpr(Opcode opcode,
1055 Index memidx,
1056 Address align_log2,
1057 Address offset) {
1058 CHECK_RESULT(validator_.OnAtomicStore(GetLocation(), opcode,
1059 Var(memidx, GetLocation()),
1060 GetAlignment(align_log2), offset));
1061 istream_.Emit(opcode, memidx, offset);
1062 return Result::Ok;
1063}
1064
1065Result BinaryReaderInterp::OnAtomicRmwExpr(Opcode opcode,
1066 Index memidx,

Callers

nothing calls this directly

Calls 4

GetAlignmentFunction · 0.85
EmitMethod · 0.80
VarClass · 0.50
OnAtomicStoreMethod · 0.45

Tested by

no test coverage detected