Conditionalize compilation
Change-Id: I21dd4baf48df1e503f2701ffade73a5e77ecb392
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 7d38faa..17d6a34 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -697,6 +697,11 @@
*/
bool oatCompileMethod(Method* method, art::InstructionSet insnSet)
{
+ if (PrettyMethod(method, false) != "Fibonacci.fibonacci") {
+ LOG(INFO) << "not compiling " << PrettyMethod(method, false);
+ return false;
+ }
+
CompilationUnit cUnit;
art::ClassLinker* class_linker = art::Runtime::Current()->GetClassLinker();
const art::DexFile& dex_file = class_linker->FindDexFile(