| 739 | } |
| 740 | |
| 741 | Result SharedValidator::OnAtomicStore(const Location& loc, |
| 742 | Opcode opcode, |
| 743 | Var memidx, |
| 744 | Address alignment, |
| 745 | Address offset) { |
| 746 | Result result = CheckInstr(opcode, loc); |
| 747 | MemoryType mt; |
| 748 | result |= CheckMemoryIndex(memidx, &mt); |
| 749 | result |= CheckAtomicAlign(loc, alignment, opcode.GetMemorySize()); |
| 750 | result |= CheckOffset(loc, offset, mt.limits); |
| 751 | result |= typechecker_.OnAtomicStore(opcode, mt.limits); |
| 752 | return result; |
| 753 | } |
| 754 | |
| 755 | Result SharedValidator::OnAtomicWait(const Location& loc, |
| 756 | Opcode opcode, |
nothing calls this directly
no test coverage detected