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

Method OnSimdStoreLane

src/shared-validator.cc:1301–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1299}
1300
1301Result SharedValidator::OnSimdStoreLane(const Location& loc,
1302 Opcode opcode,
1303 Var memidx,
1304 Address alignment,
1305 Address offset,
1306 uint64_t value) {
1307 Result result = CheckInstr(opcode, loc);
1308 MemoryType mt;
1309 result |= CheckMemoryIndex(memidx, &mt);
1310 result |= CheckAlign(loc, alignment, opcode.GetMemorySize());
1311 result |= CheckOffset(loc, offset, mt.limits);
1312 result |= typechecker_.OnSimdStoreLane(opcode, mt.limits, value);
1313 return result;
1314}
1315
1316Result SharedValidator::OnSimdShuffleOp(const Location& loc,
1317 Opcode opcode,

Callers

nothing calls this directly

Calls 1

GetMemorySizeMethod · 0.80

Tested by

no test coverage detected