summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 0afbaba94..b622087c8 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -1918,7 +1918,7 @@ public:
Flow visitStringMeasure(StringMeasure* curr) {
// For now we only support JS-style strings.
- if (curr->op != StringMeasureWTF16View) {
+ if (curr->op != StringMeasureWTF16View && curr->op != StringMeasureWTF16) {
return Flow(NONCONSTANT_FLOW);
}