summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 06cf9bb4..1aeef2af 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -959,25 +959,25 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
CALLBACK0(OnOpcodeBare);
break;
- case Opcode::Wake: {
+ case Opcode::AtomicWake: {
uint32_t alignment_log2;
CHECK_RESULT(ReadU32Leb128(&alignment_log2, "load alignment"));
Address offset;
CHECK_RESULT(ReadU32Leb128(&offset, "load offset"));
- CALLBACK(OnWakeExpr, opcode, alignment_log2, offset);
+ CALLBACK(OnAtomicWakeExpr, opcode, alignment_log2, offset);
CALLBACK(OnOpcodeUint32Uint32, alignment_log2, offset);
break;
}
- case Opcode::I32Wait:
- case Opcode::I64Wait: {
+ case Opcode::I32AtomicWait:
+ case Opcode::I64AtomicWait: {
uint32_t alignment_log2;
CHECK_RESULT(ReadU32Leb128(&alignment_log2, "load alignment"));
Address offset;
CHECK_RESULT(ReadU32Leb128(&offset, "load offset"));
- CALLBACK(OnWaitExpr, opcode, alignment_log2, offset);
+ CALLBACK(OnAtomicWaitExpr, opcode, alignment_log2, offset);
CALLBACK(OnOpcodeUint32Uint32, alignment_log2, offset);
break;
}