mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 22:26:52 +00:00
[dart2wasm] Make --shell-option work in pkg/dart2wasm/tool/run_benchmark script
Change-Id: Ib7de19a936c211fd593fa81d37764e734193eac8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373260 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com>
This commit is contained in:
parent
8f962bdff6
commit
f3e1b210de
|
@ -86,4 +86,4 @@ while [ $# -gt 0 ]; do
|
|||
esac
|
||||
done
|
||||
|
||||
exec "$SHELL_BIN" "$RUN_WASM" $SHELL_ARG_SEPERATOR "$MJS_FILE" "$WASM_FILE" "${LINEAR_WASM_FILES[@]}" -- "$@"
|
||||
exec "$SHELL_BIN" "${SHELL_OPTIONS[@]}" "$RUN_WASM" $SHELL_ARG_SEPERATOR "$MJS_FILE" "$WASM_FILE" "${LINEAR_WASM_FILES[@]}" -- "$@"
|
||||
|
|
|
@ -606,8 +606,8 @@ class Dart2WasmCompilerConfiguration extends CompilerConfiguration {
|
|||
final isD8 = runtimeConfiguration is D8RuntimeConfiguration;
|
||||
return [
|
||||
if (isD8) ...[
|
||||
'--shell-option=turboshaft-wasm',
|
||||
'--shell-option=experimental-wasm-imported-strings',
|
||||
'--shell-option=--turboshaft-wasm',
|
||||
'--shell-option=--experimental-wasm-imported-strings',
|
||||
],
|
||||
wasmFilename,
|
||||
...testFile.sharedObjects
|
||||
|
|
Loading…
Reference in a new issue