summaryrefslogtreecommitdiff
path: root/src/asm2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r--src/asm2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h
index 7dcc0385b..014658eb5 100644
--- a/src/asm2wasm.h
+++ b/src/asm2wasm.h
@@ -260,7 +260,7 @@ private:
}
bool isUnsignedCoercion(Ref ast) {
- return detectSign(ast) == ASM_UNSIGNED;
+ return detectSign(ast, Math_fround) == ASM_UNSIGNED;
}
// an asm.js binary op can either be a binary or a relational in wasm