OSDN Git Service

Don't use CanHoldArm in the code generator.
authorNicolas Geoffray <ngeoffray@google.com>
Fri, 28 Nov 2014 15:00:02 +0000 (15:00 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Fri, 28 Nov 2014 16:03:28 +0000 (16:03 +0000)
commit3bcc8ea079d867f26622defd0611d134a3b4ae49
treea1f3f3ad3ec1284d199eee6e57889b8c1e90b619
parenteea79dd779ba199658ada7264f8f96d776e53f19
Don't use CanHoldArm in the code generator.

CanHoldArm was ARM32 specific. Instead use a virtual
Assembler::ShifterOperandCanHold that both thumb2 and arm32
implement.

Change-Id: I33794a93caf02ee5d78d32a8471d9fd6fe4f0a00
compiler/optimizing/code_generator_arm.cc
compiler/utils/arm/assembler_arm.cc
compiler/utils/arm/assembler_arm.h
compiler/utils/arm/assembler_arm32.cc
compiler/utils/arm/assembler_arm32.h
compiler/utils/arm/assembler_thumb2.cc
compiler/utils/arm/assembler_thumb2.h
test/434-shifter-operand/expected.txt [new file with mode: 0644]
test/434-shifter-operand/info.txt [new file with mode: 0644]
test/434-shifter-operand/src/Main.java [new file with mode: 0644]