mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:18:49 +00:00
93b84b5b52
We can simplify and improve the range analysis in IntConverter if we generalize based on the sizes and signs of the source and target representations and whether the operation truncates or deoptimizes. Adds RepresentationUtils::MinValue() and ::MaxValue(), which return the minimum and maximum value (as an int64_t) for an unboxed integer representation. TEST=ci Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-simarm_x64-try,vm-aot-linux-release-x64-try,vm-aot-linux-debug-x64-try,vm-aot-linux-debug-x64c-try,vm-win-release-x64-try,vm-gcc-linux-try,vm-ffi-qemu-linux-release-arm-try,vm-ffi-android-debug-arm-try Change-Id: Ic8dc0d58059e30d85fb2816e15ab3c19fbee461c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332203 Commit-Queue: Tess Strickland <sstrickl@google.com> Reviewed-by: Slava Egorov <vegorov@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 |