summaryrefslogtreecommitdiff
path: root/src/compiler/Frontend.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/Frontend.cc')
-rw-r--r--src/compiler/Frontend.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index b714065c9f..9fa69115a1 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -246,6 +246,12 @@ BasicBlock *findBlock(CompilationUnit* cUnit, unsigned int codeOffset,
return bb;
}
+/* Find existing block */
+BasicBlock* oatFindBlock(CompilationUnit* cUnit, unsigned int codeOffset)
+{
+ return findBlock(cUnit, codeOffset, false, false, NULL);
+}
+
/* Turn method name into a legal Linux file name */
void oatReplaceSpecialChars(std::string& str)
{
@@ -781,7 +787,7 @@ CompiledMethod* oatCompileMethod(Compiler& compiler,
|| (PrettyMethod(method_idx, dex_file).find("FloatMath") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("Goto") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("InternedString") != std::string::npos)
- // || (PrettyMethod(method_idx, dex_file).find("IntMath") != std::string::npos)
+ || (PrettyMethod(method_idx, dex_file).find("IntMath") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("InstField") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("MethodCall") != std::string::npos)
|| (PrettyMethod(method_idx, dex_file).find("Monitor") != std::string::npos)