From ba6b679bd34449ec56508966706ca1b8d5e7cb17 Mon Sep 17 00:00:00 2001 From: Artem Serov Date: Mon, 15 Aug 2016 14:22:07 +0100 Subject: ARM: Purge Arm32Assembler. Use Thumb2Assembler always. This originated from finding out that the JNI tests are run using the Arm32Assembler however in real world Thumb2Assembler is used for JNI. Therefore Arm32Assembler code is dead except its own tests and the illegitimate use in JNI tests. Change-Id: I9ca6b83582bf97149a46690518ccb9312b1a3b68 --- compiler/driver/compiler_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 758cd936a2..77ec4b7dcc 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -372,7 +372,7 @@ CompilerDriver::CompilerDriver( method_inliner_map_(method_inliner_map), compiler_(Compiler::Create(this, compiler_kind)), compiler_kind_(compiler_kind), - instruction_set_(instruction_set), + instruction_set_(instruction_set == kArm ? kThumb2: instruction_set), instruction_set_features_(instruction_set_features), requires_constructor_barrier_lock_("constructor barrier lock"), compiled_classes_lock_("compiled classes lock"), -- cgit v1.2.3-59-g8ed1b