summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index 624847f7d..54a06578f 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -1816,6 +1816,10 @@ Ref Wasm2JSBuilder::processFunctionBody(Module* m,
unimplemented(curr);
WASM_UNREACHABLE();
}
+ Ref visitAtomicFence(AtomicFence* curr) {
+ // Sequentially consistent fences can be lowered to no operation
+ return ValueBuilder::makeToplevel();
+ }
Ref visitSIMDExtract(SIMDExtract* curr) {
unimplemented(curr);
WASM_UNREACHABLE();