File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ cashew::IString EM_JS_PREFIX("__em_js__");
3636static Name STACK_SAVE (" stackSave" ),
3737 STACK_RESTORE(" stackRestore" ),
3838 STACK_ALLOC(" stackAlloc" ),
39- STACK_INIT(" stack$init" ),
40- DUMMY_FUNC(" __wasm_nullptr" );
39+ STACK_INIT(" stack$init" );
4140
4241void addExportedFunction (Module& wasm, Function* function) {
4342 wasm.addFunction (function);
@@ -181,9 +180,6 @@ void EmscriptenGlueGenerator::generateDynCallThunks() {
181180 tableSegmentData = wasm.table .segments [0 ].data ;
182181 }
183182 for (const auto & indirectFunc : tableSegmentData) {
184- if (indirectFunc == DUMMY_FUNC) {
185- continue ;
186- }
187183 std::string sig = getSig (wasm.getFunction (indirectFunc));
188184 auto * funcType = ensureFunctionType (sig, &wasm);
189185 if (!sigs.insert (sig).second ) continue ; // Sig is already in the set
You can’t perform that action at this time.
0 commit comments