summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm-interpreter.h2
-rw-r--r--test/lit/exec/atomic.wast2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 8da80afc9..8db33de74 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -3398,7 +3398,7 @@ public:
if (timeout.getSingleValue().getInteger() != 0) {
hostLimit("threads support");
}
- return Literal(int32_t(0)); // equal
+ return Literal(int32_t(2)); // Timed out
}
Flow visitAtomicNotify(AtomicNotify* curr) {
NOTE_ENTER("AtomicNotify");
diff --git a/test/lit/exec/atomic.wast b/test/lit/exec/atomic.wast
index 73567121f..631bdd531 100644
--- a/test/lit/exec/atomic.wast
+++ b/test/lit/exec/atomic.wast
@@ -8,7 +8,7 @@
(memory $0 23 256 shared)
;; CHECK: [fuzz-exec] calling wait_and_log
- ;; CHECK-NEXT: [LoggingExternalInterface logging 0]
+ ;; CHECK-NEXT: [LoggingExternalInterface logging 2]
(func $wait_and_log (export "wait_and_log")
(call $log
(memory.atomic.wait64