summaryrefslogtreecommitdiff
path: root/src/wasm-emscripten.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-05-20 17:00:36 -0400
committerGitHub <noreply@github.com>2020-05-20 14:00:36 -0700
commite4d1e203c8bf8577e645dbf7ab265d1ec1c68bee (patch)
treecbf5da712297bf4d8af0bdd21c023e528dd2b03b /src/wasm-emscripten.h
parent677a9b8e29ac9088c361b9b20f6d513c76355106 (diff)
downloadbinaryen-e4d1e203c8bf8577e645dbf7ab265d1ec1c68bee.tar.gz
binaryen-e4d1e203c8bf8577e645dbf7ab265d1ec1c68bee.tar.bz2
binaryen-e4d1e203c8bf8577e645dbf7ab265d1ec1c68bee.zip
Remove stackSave/stackAlloc/stackRestore code generation (#2852)
These are now implemented in assembly as part of emscripten's compiler-rt. See: https://github.com/emscripten-core/emscripten/pull/11166
Diffstat (limited to 'src/wasm-emscripten.h')
-rw-r--r--src/wasm-emscripten.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm-emscripten.h b/src/wasm-emscripten.h
index 5ede78375..0fca27056 100644
--- a/src/wasm-emscripten.h
+++ b/src/wasm-emscripten.h
@@ -36,7 +36,6 @@ public:
void setStandalone(bool standalone_) { standalone = standalone_; }
void setSideModule(bool sideModule_) { sideModule = sideModule_; }
- void generateRuntimeFunctions();
Function* generateMemoryGrowthFunction();
Function* generateAssignGOTEntriesFunction();
void generatePostInstantiateFunction();
@@ -80,12 +79,7 @@ private:
// so far.
std::unordered_set<Signature> sigs;
- Expression* generateLoadStackPointer();
- Expression* generateStoreStackPointer(Function* func, Expression* value);
void generateDynCallThunk(Signature sig);
- void generateStackSaveFunction();
- void generateStackAllocFunction();
- void generateStackRestoreFunction();
void generateSetStackLimitFunction();
Name importStackOverflowHandler();
};