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

Method OnAtomicLoadExpr

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

Source from the content-addressed store, hash-verified

1041}
1042
1043Result BinaryReaderInterp::OnAtomicLoadExpr(Opcode opcode,
1044 Index memidx,
1045 Address align_log2,
1046 Address offset) {
1047 CHECK_RESULT(validator_.OnAtomicLoad(GetLocation(), opcode,
1048 Var(memidx, GetLocation()),
1049 GetAlignment(align_log2), offset));
1050 istream_.Emit(opcode, memidx, offset);
1051 return Result::Ok;
1052}
1053
1054Result BinaryReaderInterp::OnAtomicStoreExpr(Opcode opcode,
1055 Index memidx,

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected