Refactor the compilers out of libart.
This builds three separate compilers and dynamically links with the right one
at runtime.
Change-Id: I59d22b9884f41de733c09f97e29ee290236d5f4b
diff --git a/src/compiler/codegen/arm/armv7-a/ArchVariant.cc b/src/compiler/codegen/arm/armv7-a/ArchVariant.cc
index 77844fc..dcf3a99 100644
--- a/src/compiler/codegen/arm/armv7-a/ArchVariant.cc
+++ b/src/compiler/codegen/arm/armv7-a/ArchVariant.cc
@@ -20,9 +20,9 @@
* Determine the initial instruction set to be used for this trace.
* Later components may decide to change this.
*/
-OatInstructionSetType oatInstructionSet(void)
+InstructionSet oatInstructionSet()
{
- return DALVIK_OAT_THUMB2;
+ return kThumb2;
}
/* Architecture-specific initializations and checks go here */