diff options
author | Vladimir Marko <vmarko@google.com> | 2017-07-13 18:49:35 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-07-13 18:49:35 +0100 |
commit | a44c44549c8688b0e7257571601625e9eb88cea8 (patch) | |
tree | 994f1496175b29559f2a06c1bc125d7af809300a /compiler/optimizing/codegen_test_utils.h | |
parent | f6a122c2cdbd871c0073ee5f90449be4fad34dea (diff) |
Fix compressible string check for ctors with `hibyte`.
Only the low 8 bits of the `hibyte` are relevant but we
were checking the whole `hibyte`, erroneously creating
an uncompressed string when the low bits are zero but
high bits are non-zero. String.equals() depends on all
compressible Strings being actually compressed.
Test: Added regression test to 021-string2.
Test: m test-art-host-gtest
Test: testrunner.py --host
Bug: 31040547
Bug: 63661357
Change-Id: I31690b544de928ce9c6f39f3d144d3e2029f38f6
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions