aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-20 18:05:13 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-20 18:05:13 -0800
commit9c648a51d8bbded87db506f87c9c60fbb4e368e3 (patch)
tree3246e9eefc3a82d85a663a449a6e6747cb5cc9b0 /src/modules.js
parenta60ea10e4de59ebe44f5a60c09140da515263ac7 (diff)
create asm function table wrappers for all non-implemented functions
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js2
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 = '';