diff options
-rw-r--r-- | src/token.cc | 6 | ||||
-rw-r--r-- | src/token.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/token.cc b/src/token.cc index f8bdc7f0..50d3e71f 100644 --- a/src/token.cc +++ b/src/token.cc @@ -69,6 +69,8 @@ const char* GetTokenTypeName(TokenType token_type) { "ATOMIC_RMW", "ATOMIC_RMW_CMPXCHG", "ATOMIC_STORE", + "ATOMIC_WAIT", + "ATOMIC_WAKE", "BINARY", "block", "br", @@ -99,13 +101,11 @@ const char* GetTokenTypeName(TokenType token_type) { "set_local", "STORE", "tee_local", + "TERNARY", "throw", "try", "UNARY", - "TERNARY", "unreachable", - "WAIT", - "WAKE", // String. "align=", diff --git a/src/token.h b/src/token.h index e858d6d1..b2fd3b7d 100644 --- a/src/token.h +++ b/src/token.h @@ -118,10 +118,10 @@ enum class TokenType { SetLocal, Store, TeeLocal, + Ternary, Throw, Try, Unary, - Ternary, Unreachable, First_Opcode = AtomicLoad, Last_Opcode = Unreachable, |