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
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 34798f9..9e4b857 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -761,8 +761,12 @@
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;