mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
1afa57fc48
If range analysis has determined that a integer operation cannot throw or deoptimize and can only result in a single possible value that matches the operation's representation, replace the operation with that constant value. Be more precise about when a BinaryInt64OpInstr can throw. Previously any MOD or TRUNCDIV operation was marked as possibly throwing, but now in those cases we only mark it as possibly throwing if the right hand side can be 0. TEST=vm/dart/unsigned_truncated_division Change-Id: I0f4fd754199240715606b90a6a423dbeb268c90d Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-simarm_x64-try,vm-aot-linux-release-x64-try,vm-aot-linux-debug-x64c-try,vm-linux-release-simarm-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/331283 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
platform | ||
tests | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni | ||
vm-jit.shard.cml | ||
vm.shard.cml |