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

Method OnLoadSplat

src/shared-validator.cc:1012–1024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1010}
1011
1012Result SharedValidator::OnLoadSplat(const Location& loc,
1013 Opcode opcode,
1014 Var memidx,
1015 Address alignment,
1016 Address offset) {
1017 Result result = CheckInstr(opcode, loc);
1018 MemoryType mt;
1019 result |= CheckMemoryIndex(memidx, &mt);
1020 result |= CheckAlign(loc, alignment, opcode.GetMemorySize());
1021 result |= CheckOffset(loc, offset, mt.limits);
1022 result |= typechecker_.OnLoad(opcode, mt.limits);
1023 return result;
1024}
1025
1026Result SharedValidator::OnLoadZero(const Location& loc,
1027 Opcode opcode,

Callers 2

OnLoadSplatExprMethod · 0.80
OnLoadSplatExprMethod · 0.80

Calls 2

GetMemorySizeMethod · 0.80
OnLoadMethod · 0.45

Tested by

no test coverage detected