summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h
index 8ead1075..89f46204 100644
--- a/src/token.h
+++ b/src/token.h
@@ -82,6 +82,10 @@ enum class TokenType {
Last_Literal = Nat,
// Tokens with Opcode data.
+ AtomicLoad,
+ AtomicRmw,
+ AtomicRmwCmpxchg,
+ AtomicStore,
Binary,
Block,
Br,
@@ -116,7 +120,7 @@ enum class TokenType {
Try,
Unary,
Unreachable,
- First_Opcode = Binary,
+ First_Opcode = AtomicLoad,
Last_Opcode = Unreachable,
// Tokens with string data.