summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index 9d3fdd0ec..e5f473e21 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -52,6 +52,13 @@ namespace wasm {
using namespace cashew;
+IString ASM_FUNC("asmFunc");
+IString ABORT_FUNC("abort");
+IString FUNCTION_TABLE("FUNCTION_TABLE");
+IString NO_RESULT("wasm2js$noresult"); // no result at all
+// result in an expression, no temp var
+IString EXPRESSION_RESULT("wasm2js$expresult");
+
// Appends extra to block, flattening out if extra is a block as well
void flattenAppend(Ref ast, Ref extra) {
int index;