summaryrefslogtreecommitdiff
path: root/src/compiler/Frontend.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-06-26 16:27:56 -0700
committer buzbee <buzbee@google.com> 2012-06-26 19:15:57 -0700
commit32412961b1c912faba30cdecd3560ab05e463807 (patch)
tree8d7656dfd7394865442d0374dc7f3fcd5cd4972f /src/compiler/Frontend.cc
parent4f1181fe061d3529f72e1237e7662bf9bc73c6e2 (diff)
Quick compiler exception support
Handle MOVE_RESULT, THROW and THROW_VERIFICATION_ERROR. Enable runtests 007 and 014 to pass. Minor munging of the tests to make them easier to selectively compile with the Quick compiler. Change-Id: I756def54d81771b144e8ebc213cd90077e23758b
Diffstat (limited to 'src/compiler/Frontend.cc')
-rw-r--r--src/compiler/Frontend.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 34798f92b1..9e4b85787c 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -761,8 +761,12 @@ CompiledMethod* oatCompileMethod(Compiler& compiler,
if ((PrettyMethod(method_idx, dex_file).find("fibonacci") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("HelloWorld") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("count10_006") != std::string::npos)
+ || (PrettyMethod(method_idx, dex_file).find("exceptions_007") != std::string::npos)
+ || (PrettyMethod(method_idx, dex_file).find("catchAndRethrow") != std::string::npos)
+ || (PrettyMethod(method_idx, dex_file).find("throwNullPointerException") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("math_012") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("math_013") != std::string::npos)
+ || (PrettyMethod(method_idx, dex_file).find("math_014") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("float_017") != std::string::npos)
) {
cUnit->genBitcode = true;