summaryrefslogtreecommitdiff
path: root/src/wasm-emscripten.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-emscripten.h')
-rw-r--r--src/wasm-emscripten.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-emscripten.h b/src/wasm-emscripten.h
index aa42b86b2..c15a4b8af 100644
--- a/src/wasm-emscripten.h
+++ b/src/wasm-emscripten.h
@@ -41,6 +41,10 @@ public:
// signature in the indirect function table.
void generateDynCallThunks();
+ // Convert stack pointer access from get_global/set_global to calling save
+ // and restore functions.
+ void replaceStackPointerGlobal();
+
// Create thunks to support emscripten's addFunction functionality. Creates (#
// of reserved function pointers) thunks for each indirectly called function
// signature.