File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,15 +154,15 @@ addOnPreRun(() => {
154154 let ptr = 0 ;
155155 try {
156156 const mod = new WebAssembly .Module (code );
157- const inst = new WebAssembly .Instance (mod , {e : {t : wasmTable } });
157+ const inst = new WebAssembly .Instance (mod , { e : { t : wasmTable } });
158158 ptr = addFunction (inst .exports .f );
159- } catch (e ) {
159+ } catch (e ) {
160160 // If something goes wrong, we'll null out _PyEM_CountFuncParams and fall
161161 // back to the JS trampoline.
162162 }
163163 Module ._PyEM_CountArgsPtr = ptr ;
164- const offset = HEAP32 [__PyEM_EMSCRIPTEN_COUNT_ARGS_OFFSET / 4 ];
165- HEAP32 [__PyRuntime / 4 + offset ] = ptr ;
164+ const offset = HEAP32 [__PyEM_EMSCRIPTEN_COUNT_ARGS_OFFSET / 4 ];
165+ HEAP32 [( __PyRuntime + offset ) / 4 ] = ptr ;
166166});
167167);
168168
You can’t perform that action at this time.
0 commit comments