aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-13 18:29:12 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:18 -0800
commitb140e7ee7354afcc215e1fc3593ea385e15ae92a (patch)
treef3662c10e5e6f5c56a669ad86eac170f91c8302a /src/postamble.js
parentab399ca532fb1deb7607f6cc2feb01186d75ec2b (diff)
set up asm.js 'module'
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) {