@@ -821,16 +821,16 @@ def table_size(table):
821821 exported_implemented_functions = list (exported_implemented_functions ) + metadata ['initializers' ]
822822 if not settings ['ONLY_MY_CODE' ]:
823823 exported_implemented_functions .append ('runPostSets' )
824- if settings ['ALLOW_MEMORY_GROWTH' ]:
825- exported_implemented_functions .append ('_emscripten_replace_memory' )
826- if not settings . get ( 'SIDE_MODULE' ) :
827- exported_implemented_functions += ['stackAlloc' , 'stackSave' , 'stackRestore' , 'establishStackSpace' ]
828- if settings ['SAFE_HEAP' ]:
829- exported_implemented_functions += ['setDynamicTop' ]
830- if not settings ['RELOCATABLE' ]:
831- exported_implemented_functions += ['setTempRet0' , 'getTempRet0' ]
832- if not (settings ['BINARYEN' ] and settings ['SIDE_MODULE' ]):
833- exported_implemented_functions += ['setThrew' ]
824+ if settings ['ALLOW_MEMORY_GROWTH' ]:
825+ exported_implemented_functions .append ('_emscripten_replace_memory' )
826+ if not settings [ 'SIDE_MODULE' ] :
827+ exported_implemented_functions += ['stackAlloc' , 'stackSave' , 'stackRestore' , 'establishStackSpace' ]
828+ if settings ['SAFE_HEAP' ]:
829+ exported_implemented_functions += ['setDynamicTop' ]
830+ if not settings ['RELOCATABLE' ]:
831+ exported_implemented_functions += ['setTempRet0' , 'getTempRet0' ]
832+ if not (settings ['BINARYEN' ] and settings ['SIDE_MODULE' ]):
833+ exported_implemented_functions += ['setThrew' ]
834834
835835 all_exported = exported_implemented_functions + asm_runtime_funcs + function_tables
836836 exported_implemented_functions = list (set (exported_implemented_functions ))
0 commit comments