summaryrefslogtreecommitdiff
path: root/src/wasm-js.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-js.cpp')
-rw-r--r--src/wasm-js.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-js.cpp b/src/wasm-js.cpp
index e2ef47bbb..2bea09a16 100644
--- a/src/wasm-js.cpp
+++ b/src/wasm-js.cpp
@@ -3,6 +3,9 @@
// wasm intepreter for asm2wasm output, in a js environment. receives asm.js,
// generates a runnable module suitable as a polyfill.
//
+// this polyfills an emscripten --separate-asm *.asm.js file, as a drop-in
+// replacement. it writes the wasm module to Module.asm, and sets Module.buffer.
+//
#include <emscripten.h>