summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 05d00ed10..d854b20d3 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -1029,6 +1029,12 @@ public:
return Literal(uint64_t(val));
}
}
+ Flow visitAtomicFence(AtomicFence*) {
+ // Wasm currently supports only sequentially consistent atomics, in which
+ // case atomic_fence can be lowered to nothing.
+ NOTE_ENTER("AtomicFence");
+ return Flow();
+ }
Flow visitCall(Call*) { WASM_UNREACHABLE(); }
Flow visitCallIndirect(CallIndirect*) { WASM_UNREACHABLE(); }