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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index c67ac6768..8bb250993 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -1449,7 +1449,7 @@ public:
// This is a dynamic check with an RTT.
Flow rtt = this->visit(curr->rtt);
if (rtt.breaking()) {
- return typename Cast::Breaking{ref};
+ return typename Cast::Breaking{rtt};
}
intendedRtt = rtt.getSingleValue();
} else {