diff options
Diffstat (limited to 'src/wasm-emscripten.h')
-rw-r--r-- | src/wasm-emscripten.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/wasm-emscripten.h b/src/wasm-emscripten.h index ba956ee39..395c76a16 100644 --- a/src/wasm-emscripten.h +++ b/src/wasm-emscripten.h @@ -40,10 +40,6 @@ public: Function* generateAssignGOTEntriesFunction(); void generatePostInstantiateFunction(); - // Create thunks for use with emscripten Runtime.dynCall. Creates one for each - // signature in the indirect function table. - void generateDynCallThunks(); - // Remove the import of a mutable __stack_pointer and instead initialize the // stack pointer from an immutable import. void internalizeStackPointerGlobal(); @@ -66,6 +62,8 @@ public: // the file). void separateDataSegments(Output* outfile, Address base); + void generateDynCallThunk(Signature sig); + private: Module& wasm; Builder builder; @@ -76,8 +74,6 @@ private: // Used by generateDynCallThunk to track all the dynCall functions created // so far. std::unordered_set<Signature> sigs; - - void generateDynCallThunk(Signature sig); }; } // namespace wasm |