mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Set flag --wasm-gc only for GC tests to improve performance.
This commit is contained in:
parent
53319942ae
commit
e3eb66efc9
@ -537,7 +537,11 @@ public class WasmRule extends TemporaryFolder {
|
||||
compiler.setProperty( JWebAssembly.WASM_USE_GC, null );
|
||||
System.clearProperty( "SpiderMonkey" );
|
||||
}
|
||||
return new ProcessBuilder( spiderMonkey.getCommand(), "--wasm-gc", /*"--wasm-bigint",*/ script.getAbsolutePath() );
|
||||
ProcessBuilder process = new ProcessBuilder( spiderMonkey.getCommand(), /*"--wasm-bigint",*/ script.getAbsolutePath() );
|
||||
if( gc ) {
|
||||
process.command().add( 1, "--wasm-gc" );
|
||||
}
|
||||
return process;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user