mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:30:03 +00:00
b028da6407
There are a few places in our runtime libraries where we have some code guarded by `if (false)`. This is to ensure that the guarded code is marked as used and compiled, but not emitted unless rewritten during SSA. This pattern is somewhat brittle - a kernel optimization/transformation which eliminates dead code may discard the code. Instead, we can write `if (JS_GET_FLAG('FALSE'))`, which will only be written to `if (false)` and then discarded during SSA. Change-Id: I8edc2b24e5fbeece1f042ff3d0c87d58e939bf84 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271800 Reviewed-by: Stephen Adams <sra@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |