summaryrefslogtreecommitdiff
path: root/src/compiler/codegen
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-09-09 16:24:50 -0700
committer Elliott Hughes <enh@google.com> 2011-09-09 16:52:46 -0700
commit1240dade91d6c4bbf4e367ca608fcdc15348da45 (patch)
treed44767871d0febadc9773df9839c16977cde91be /src/compiler/codegen
parent2d7404799fa4ca5d2dc925b3d411c642ff3cb4aa (diff)
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
Diffstat (limited to 'src/compiler/codegen')
-rw-r--r--src/compiler/codegen/arm/MethodCodegenDriver.cc2
-rw-r--r--src/compiler/codegen/arm/Thumb2/Gen.cc1
2 files changed, 2 insertions, 1 deletions
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)