aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/postamble.js b/src/postamble.js
index 144b5af9..25232879 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -1,4 +1,9 @@
+#if ASM_JS
+ return {};
+})({}, buffer);
+#endif
+
// === Auto-generated postamble setup entry stuff ===
Module.callMain = function callMain(args) {