diff options
-rw-r--r-- | src/parseTools.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index bcae838a..89267d10 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -1016,7 +1016,9 @@ function asmInitializer(type, impl) { function asmCoercion(value, type) { if (!ASM_JS) return value; - if (isIntImplemented(type)) { + if (type == 'void') { + return value; + } else if (isIntImplemented(type)) { return '((' + value + ')|0)'; } else { return '(+(' + value + '))'; |