summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-02-16 12:47:06 +0000
committerVladimir Marko <vmarko@google.com>2017-02-16 14:13:34 +0000
commit3e86bb035fc52bee2d277c71b57d8d40d1577b7f (patch)
tree03584a4d4f50f76993742e47f358150d5b8f296f /compiler/common_compiler_test.cc
parentc898aa8d2865197cbeefc63d8ec78d93c305c68e (diff)
Fix 624-checker-stringops for PIC.
Do not rely on the const-string "x" to be non-throwing; just pull the "x" out of the loop to make it irrelevant. (The non-PIC test was "lucky" because "x" is a boot image string and HLoadString/kBootImageAddress in non-throwing. In PIC mode, the HLoadString/kBssEntry is throwing; the "is in boot image" optimization for HLoadClass has not been implemented for HLoadString.) Test: testrunner.py --host -t 624 Test: testrunner.py --host --pictest -t 624 Change-Id: Iff5cfb1276af0e4896707f19a18e6053afd87a77
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions