| 1284 | } |
| 1285 | |
| 1286 | Result SharedValidator::OnSimdLoadLane(const Location& loc, |
| 1287 | Opcode opcode, |
| 1288 | Var memidx, |
| 1289 | Address alignment, |
| 1290 | Address offset, |
| 1291 | uint64_t value) { |
| 1292 | Result result = CheckInstr(opcode, loc); |
| 1293 | MemoryType mt; |
| 1294 | result |= CheckMemoryIndex(memidx, &mt); |
| 1295 | result |= CheckAlign(loc, alignment, opcode.GetMemorySize()); |
| 1296 | result |= CheckOffset(loc, offset, mt.limits); |
| 1297 | result |= typechecker_.OnSimdLoadLane(opcode, mt.limits, value); |
| 1298 | return result; |
| 1299 | } |
| 1300 | |
| 1301 | Result SharedValidator::OnSimdStoreLane(const Location& loc, |
| 1302 | Opcode opcode, |
nothing calls this directly
no test coverage detected