From 1240dade91d6c4bbf4e367ca608fcdc15348da45 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 9 Sep 2011 16:24:50 -0700 Subject: Test conversion of floats and doubles to strings. There was some confusion about what Method::HasCode meant, and we weren't quite ready to compile all methods _and_ be able to invoke them. We were also missing a couple of native methods in Throwable that we need if we've compiled all Throwable's code (because the next time we ask ClassLinker to do anything, it'll try to throw NoClassDefFoundException from one of the ClassLoaders, and that will try to run a Throwable constructor, which will end up trying to call these native methods). Change-Id: If4783f3c866aaa72413d7b7810ef2541d418ae33 --- src/compiler/codegen/arm/MethodCodegenDriver.cc | 2 ++ src/compiler/codegen/arm/Thumb2/Gen.cc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/codegen') diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc index 2319a712e9..c7c15cfdd2 100644 --- a/src/compiler/codegen/arm/MethodCodegenDriver.cc +++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc @@ -14,6 +14,8 @@ * limitations under the License. */ +#define DISPLAY_MISSING_TARGETS 1 + static const RegLocation badLoc = {kLocDalvikFrame, 0, 0, INVALID_REG, INVALID_REG, INVALID_SREG, 0, kLocDalvikFrame, INVALID_REG, INVALID_REG, diff --git a/src/compiler/codegen/arm/Thumb2/Gen.cc b/src/compiler/codegen/arm/Thumb2/Gen.cc index ce1c9a7008..89911fea2a 100644 --- a/src/compiler/codegen/arm/Thumb2/Gen.cc +++ b/src/compiler/codegen/arm/Thumb2/Gen.cc @@ -24,7 +24,6 @@ #define SLOW_FIELD_PATH 0 #define SLOW_INVOKE_PATH 0 -#define DISPLAY_MISSING_TARGETS //#define EXERCISE_SLOWEST_FIELD_PATH std::string fieldNameFromIndex(const Method* method, uint32_t fieldIdx) -- cgit v1.2.3-59-g8ed1b