| 697 | } |
| 698 | |
| 699 | Result SharedValidator::OnAtomicNotify(const Location& loc, |
| 700 | Opcode opcode, |
| 701 | Var memidx, |
| 702 | Address alignment, |
| 703 | Address offset) { |
| 704 | Result result = CheckInstr(opcode, loc); |
| 705 | MemoryType mt; |
| 706 | result |= CheckMemoryIndex(memidx, &mt); |
| 707 | result |= CheckAtomicAlign(loc, alignment, opcode.GetMemorySize()); |
| 708 | result |= CheckOffset(loc, offset, mt.limits); |
| 709 | result |= typechecker_.OnAtomicNotify(opcode, mt.limits); |
| 710 | return result; |
| 711 | } |
| 712 | |
| 713 | Result SharedValidator::OnAtomicRmwCmpxchg(const Location& loc, |
| 714 | Opcode opcode, |
nothing calls this directly
no test coverage detected