aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules.js b/src/modules.js
index 2dc6c342..dbe1e43a 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -274,7 +274,7 @@ var Functions = {
// Shared libraries reuse the parent's function table.
ret += 'FUNCTION_TABLE.push.apply(FUNCTION_TABLE_' + t + ', [' + indices + ']);\n';
} else {
- ret += 'FUNCTION_TABLE_' + t + ' = [' + indices + '];\nModule["FUNCTION_TABLE_' + t + '"] = FUNCTION_TABLE_' + t + ';\n';
+ ret += 'var FUNCTION_TABLE_' + t + ' = [' + indices + '];\n';
}
}
Functions.tables = ret;
@@ -341,7 +341,6 @@ var PassManager = {
}
}));
} else if (phase == 'post') {
-printErr('forward post!');
print('\n//FORWARDED_DATA:' + JSON.stringify({
Functions: { tables: Functions.tables }
}));