diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-07 13:21:58 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-07 13:21:58 -0800 |
commit | 97fe3159e17d65dd9912a6a0e86f74d89f3ba194 (patch) | |
tree | 81e86319a41eb74a57b63b509827a2675274eb55 /src | |
parent | 6538207d956b8539cd1ed739ebd7e4209b498fff (diff) |
always coerce asm calls
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 41ffe8c9..64ac707b 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1325,7 +1325,7 @@ function JSify(data, functionsOnly, givenFunctions) { } var ret = ident + '(' + args.join(', ') + ')'; - if (ASM_JS && shortident in Functions.libraryFunctions) { + if (ASM_JS) { // TODO: do only when needed (library functions and Math.*?) XXX && shortident in Functions.libraryFunctions) { ret = asmCoercion(ret, returnType); } return ret; |