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.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wasm-js.cpp b/src/wasm-js.cpp
index ab0923fb8..4d0914f32 100644
--- a/src/wasm-js.cpp
+++ b/src/wasm-js.cpp
@@ -1,10 +1,8 @@
-
//
-// wasm intepreter for asm2wasm output, in a js environment. receives asm.js,
-// generates a runnable module suitable as a polyfill.
+// WebAssembly intepreter for asm2wasm output, in a js environment.
//
-// 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.
+// Receives asm.js, generates a runnable module that executes the code in a WebAssembly
+// interpreter. This is suitable as a polyfill for WebAssembly support in browsers.
//
#include <emscripten.h>