diff options
author | 2016-04-28 15:52:11 +0100 | |
---|---|---|
committer | 2016-06-21 15:17:38 +0100 | |
commit | 87f3fcbd0db352157fc59148e94647ef21b73bce (patch) | |
tree | 5bdeabb246f5de86704333b3fcbccc6e9146d246 /compiler/optimizing/instruction_simplifier_arm64.h | |
parent | b94b5706f0b8e2e1c7e1db22274f9f4bae0c4b5a (diff) |
Replace String.charAt() with HIR.
Replace String.charAt() with HArrayLength, HBoundsCheck and
HArrayGet. This allows GVN on the HArrayLength and BCE on
the HBoundsCheck as well as using the infrastructure for
HArrayGet, i.e. better handling of constant indexes than
the old intrinsic and using the HArm64IntermediateAddress.
Bug: 28330359
Change-Id: I32bf1da7eeafe82537a60416abf6ac412baa80dc
Diffstat (limited to 'compiler/optimizing/instruction_simplifier_arm64.h')
-rw-r--r-- | compiler/optimizing/instruction_simplifier_arm64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_simplifier_arm64.h b/compiler/optimizing/instruction_simplifier_arm64.h index da269980e8..4735f85ab0 100644 --- a/compiler/optimizing/instruction_simplifier_arm64.h +++ b/compiler/optimizing/instruction_simplifier_arm64.h @@ -38,7 +38,7 @@ class InstructionSimplifierArm64Visitor : public HGraphVisitor { void TryExtractArrayAccessAddress(HInstruction* access, HInstruction* array, HInstruction* index, - int access_size); + size_t data_offset); bool TryMergeIntoUsersShifterOperand(HInstruction* instruction); bool TryMergeIntoShifterOperand(HInstruction* use, HInstruction* bitfield_op, |