aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 91242861..13839d17 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -995,6 +995,7 @@ function asmInitializer(type, impl) {
}
function asmCoercion(value, type) {
+ if (!ASM_JS) return value;
if (isIntImplemented(type)) {
return '((' + value + ')|0)';
} else {