OSDN Git Service

ART: Fix left-shift of negative numbers
authorAndreas Gampe <agampe@google.com>
Wed, 21 Oct 2015 04:08:52 +0000 (21:08 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 21 Oct 2015 04:51:19 +0000 (21:51 -0700)
commit58554b7de4b437ddef7ff550e62c8ec0b16f9264
tree4f728d96635f4fbd1165e780e460b1d3dd95fd62
parent1d7d0ce2d6c9a7e30d311aadc7d8aa9bbd351cb8
ART: Fix left-shift of negative numbers

Shifting negative numbers is undefined.

Change-Id: I0c32a3fcf372eae74507a5f2383edbfaf5c6830c
compiler/dex/local_value_numbering_test.cc
compiler/optimizing/constant_folding_test.cc
compiler/optimizing/dead_code_elimination_test.cc
runtime/leb128_test.cc
runtime/reflection_test.cc