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

Method OnSimdStoreLaneExpr

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

Source from the content-addressed store, hash-verified

1001}
1002
1003Result BinaryReaderInterp::OnSimdStoreLaneExpr(Opcode opcode,
1004 Index memidx,
1005 Address alignment_log2,
1006 Address offset,
1007 uint64_t value) {
1008 CHECK_RESULT(validator_.OnSimdStoreLane(
1009 GetLocation(), opcode, Var(memidx, GetLocation()),
1010 GetAlignment(alignment_log2), offset, value));
1011 istream_.Emit(opcode, memidx, offset, static_cast<u8>(value));
1012 return Result::Ok;
1013}
1014
1015Result BinaryReaderInterp::OnSimdShuffleOpExpr(Opcode opcode, v128 value) {
1016 CHECK_RESULT(validator_.OnSimdShuffleOp(GetLocation(), opcode, value));

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected