aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = '';