From f5c09c3ed5bca4c34d8476dd9ed2714106fafbcf Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 17 Dec 2015 12:08:08 +0000 Subject: Optimizing/ARM: Fix AddConstant() to adhere to set_cc. And improve it to use shorter code sequences. Bug: 26121945 Change-Id: Ia4f1688652c195a7ca19af36d919388a550e2841 --- compiler/utils/arm/assembler_thumb2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/utils/arm/assembler_thumb2.h') diff --git a/compiler/utils/arm/assembler_thumb2.h b/compiler/utils/arm/assembler_thumb2.h index 9aeece8e57..bf07b2dbf8 100644 --- a/compiler/utils/arm/assembler_thumb2.h +++ b/compiler/utils/arm/assembler_thumb2.h @@ -342,7 +342,9 @@ class Thumb2Assembler FINAL : public ArmAssembler { Register rn, Opcode opcode, uint32_t immediate, + SetCc set_cc, ShifterOperand* shifter_op) OVERRIDE; + using ArmAssembler::ShifterOperandCanHold; // Don't hide the non-virtual override. bool ShifterOperandCanAlwaysHold(uint32_t immediate) OVERRIDE; -- cgit v1.2.3-59-g8ed1b