-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dart2wasm] Add -O/--optimization-level flag to
dart compile wasm
We make the meaning of -O{0,1,2,3,4} to be similar to what dart2js has. We also make the pkg/dart2wasm/tool/compile_benchmark accept the same flags. Follow-up CLs will migrate Dart CI / Golem / flutter to use -O flags. Change-Id: Id37476c596ec7483e633c7db9eec96438315e919 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348165 Reviewed-by: Slava Egorov <vegorov@google.com>
- Loading branch information
1 parent
7b37838
commit 92d53c4
Showing
2 changed files
with
159 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters