diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-20 18:05:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-20 18:05:13 -0800 |
commit | 9c648a51d8bbded87db506f87c9c60fbb4e368e3 (patch) | |
tree | 3246e9eefc3a82d85a663a449a6e6747cb5cc9b0 /src/modules.js | |
parent | a60ea10e4de59ebe44f5a60c09140da515263ac7 (diff) |
create asm function table wrappers for all non-implemented functions
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js index bb260e10..3a0bf626 100644 --- a/src/modules.js +++ b/src/modules.js @@ -304,7 +304,7 @@ var Functions = { } if (ASM_JS) { var curr = table[i]; - if (curr && Functions.unimplementedFunctions[curr]) { + if (curr && !Functions.implementedFunctions[curr]) { // This is a library function, we can't just put it in the function table, need a wrapper if (!wrapped[curr]) { var args = '', arg_coercions = '', call = curr + '(', retPre = '', retPost = ''; |