summaryrefslogtreecommitdiff
path: root/src/lexer-keywords.txt
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2020-04-20 21:10:19 +0200
committerGitHub <noreply@github.com>2020-04-20 12:10:19 -0700
commitd041025854ba2b00b3df9f308914c8aba05dcda9 (patch)
tree2066b1cef60effa9c2a0ef7cf13cf65a34f23b1b /src/lexer-keywords.txt
parent952c3b8006911a8659c1b922c3bb4adffc671d89 (diff)
downloadwabt-d041025854ba2b00b3df9f308914c8aba05dcda9.tar.gz
wabt-d041025854ba2b00b3df9f308914c8aba05dcda9.tar.bz2
wabt-d041025854ba2b00b3df9f308914c8aba05dcda9.zip
Add support for atomic.fence from the threads proposal (#1231)
See https://github.com/WebAssembly/threads/pull/141 for the binary encoding. This patch does add a field to AtomicFenceExpr for the consistency model, though without a type for the time being.
Diffstat (limited to 'src/lexer-keywords.txt')
-rw-r--r--src/lexer-keywords.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lexer-keywords.txt b/src/lexer-keywords.txt
index b4c4871b..0e8d84f2 100644
--- a/src/lexer-keywords.txt
+++ b/src/lexer-keywords.txt
@@ -23,6 +23,7 @@ assert_malformed, TokenType::AssertMalformed
assert_return, TokenType::AssertReturn
assert_trap, TokenType::AssertTrap
assert_unlinkable, TokenType::AssertUnlinkable
+atomic.fence, TokenType::AtomicFence, Opcode::AtomicFence
atomic.notify, TokenType::AtomicNotify, Opcode::AtomicNotify
binary, TokenType::Bin
block, TokenType::Block, Opcode::Block