| 753 | } |
| 754 | |
| 755 | Result SharedValidator::OnAtomicWait(const Location& loc, |
| 756 | Opcode opcode, |
| 757 | Var memidx, |
| 758 | Address alignment, |
| 759 | Address offset) { |
| 760 | Result result = CheckInstr(opcode, loc); |
| 761 | MemoryType mt; |
| 762 | result |= CheckMemoryIndex(memidx, &mt); |
| 763 | result |= CheckAtomicAlign(loc, alignment, opcode.GetMemorySize()); |
| 764 | result |= CheckOffset(loc, offset, mt.limits); |
| 765 | result |= typechecker_.OnAtomicWait(opcode, mt.limits); |
| 766 | return result; |
| 767 | } |
| 768 | |
| 769 | Result SharedValidator::OnBinary(const Location& loc, Opcode opcode) { |
| 770 | Result result = CheckInstr(opcode, loc); |
nothing calls this directly
no test coverage detected