dart-sdk/runtime
Vyacheslav Egorov 41b5d7c6de VM: Fix incorrect canonicalization rule for UnboxedIntConverterInstr.
The rule assumed that `UnboxedIntConverter(U->V, UnboxedIntConverter(V->U, v))` is
equal to `v` which is incorrect if the first convertion is truncating and
V is a larger representation (Mint) than U (Int32 or Uint32).

Now canonicalization rule takes into account if the first convertion is
truncating and does not try to short-circuit such convertions.

Fixes https://github.com/dart-lang/sdk/issues/29137

R=kustermann@google.com
BUG=http://dartbug.com/29137

Review-Url: https://codereview.chromium.org/2793003002 .
2017-04-03 18:51:04 +02:00
..
bin Initial steps into streaming the kernel flowgraph 2017-04-03 11:40:37 +02:00
include Remove legacy restart code 2017-03-20 08:47:39 -07:00
lib Reland "VM: Handle null-comparisons in the flow graph type propagation" 2017-03-31 15:39:01 -07:00
observatory [vm service] Collect garbage before getting native allocation samples 2017-04-03 09:12:52 -07:00
platform Set TARGET_OS_* from GN, falling back to HOST_OS_*. 2017-03-20 14:48:28 -07:00
tests/vm Remove definitions from Kernel canonical names. 2017-03-30 09:31:31 +02:00
third_party Format GN files and add a presubmit check that GN is properly formatted 2016-10-26 08:50:54 -07:00
tools Add more safe points in compiler. 2017-03-31 11:19:46 +02:00
vm VM: Fix incorrect canonicalization rule for UnboxedIntConverterInstr. 2017-04-03 18:51:04 +02:00
.gitignore
BUILD.gn AOT compiler changes for dart_content_handler: 2017-03-29 10:12:05 -07:00
codereview.settings
CPPLINT.cfg clang-formats remaining files and adds a presubmit check. 2016-11-09 12:43:57 -08:00
dart-runtime.gyp Remove dart_noopt and related parts from the VM. 2017-01-11 16:55:55 -08:00
PRESUBMIT.py VM: Enforce correctly formatted C++ code 2016-11-30 23:52:52 +01:00
runtime_args.gni Created placeholders for MallocHooks implementation and added define DART_USE_TCMALLOC to specifiy when tcmalloc is available. 2017-01-06 12:38:11 -08:00