| 1322 | } |
| 1323 | |
| 1324 | Result SharedValidator::OnStore(const Location& loc, |
| 1325 | Opcode opcode, |
| 1326 | Var memidx, |
| 1327 | Address alignment, |
| 1328 | Address offset) { |
| 1329 | Result result = CheckInstr(opcode, loc); |
| 1330 | MemoryType mt; |
| 1331 | result |= CheckMemoryIndex(memidx, &mt); |
| 1332 | result |= CheckAlign(loc, alignment, opcode.GetMemorySize()); |
| 1333 | result |= CheckOffset(loc, offset, mt.limits); |
| 1334 | result |= typechecker_.OnStore(opcode, mt.limits); |
| 1335 | return result; |
| 1336 | } |
| 1337 | |
| 1338 | Result SharedValidator::OnTableCopy(const Location& loc, |
| 1339 | Var dst_var, |
nothing calls this directly
no test coverage detected