File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -895,11 +895,14 @@ function getWasmImports() {
895
895
#if DECLARE_ASM_MODULE_EXPORTS
896
896
assignWasmExports ( wasmExports ) ;
897
897
#endif
898
+ #if WASM_ASYNC_COMPILATION
898
899
removeRunDependency ( 'wasm-instantiate' ) ;
900
+ #endif
899
901
return wasmExports ;
900
902
}
901
- // wait for the pthread pool ( if any)
903
+ # if WASM_ASYNC_COMPILATION
902
904
addRunDependency ( 'wasm-instantiate' ) ;
905
+ #endif
903
906
904
907
#if LOAD_SOURCE_MAP
905
908
{ { { runIfMainThread ( "addRunDependency('source-map');" ) } } }
Original file line number Diff line number Diff line change 1
1
{
2
- "hello_world.js" : 53981 ,
3
- "hello_world.js.gz" : 17132 ,
2
+ "hello_world.js" : 53941 ,
3
+ "hello_world.js.gz" : 17115 ,
4
4
"hello_world.wasm" : 15143 ,
5
5
"hello_world.wasm.gz" : 7452 ,
6
- "no_asserts.js" : 26714 ,
7
- "no_asserts.js.gz" : 8952 ,
6
+ "no_asserts.js" : 26674 ,
7
+ "no_asserts.js.gz" : 8931 ,
8
8
"no_asserts.wasm" : 12227 ,
9
9
"no_asserts.wasm.gz" : 6008 ,
10
- "strict.js" : 52031 ,
11
- "strict.js.gz" : 16465 ,
10
+ "strict.js" : 51991 ,
11
+ "strict.js.gz" : 16448 ,
12
12
"strict.wasm" : 15143 ,
13
13
"strict.wasm.gz" : 7438 ,
14
- "total" : 175239 ,
15
- "total_gz" : 63447
14
+ "total" : 175119 ,
15
+ "total_gz" : 63392
16
16
}
Original file line number Diff line number Diff line change @@ -719,7 +719,6 @@ async function createWasm() {
719
719
removeRunDependency ( 'wasm-instantiate' ) ;
720
720
return wasmExports ;
721
721
}
722
- // wait for the pthread pool (if any)
723
722
addRunDependency ( 'wasm-instantiate' ) ;
724
723
725
724
// Prefer streaming instantiation if available.
You can’t perform that action at this time.
0 commit comments