Add stress-test mode for ResolveMethodFromCode
To force call to artResolveMethodFromCode prior to each virtual or
super invoke, add (1 << kDebugExerciseResolveMethod) bit to the
compiler's debug flags.
Change-Id: If14e4bcc8073c8ac7a7a8d0d92bc49444528f77e
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 5855341..2eba586 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -41,6 +41,7 @@
//(1 << kDebugSlowStringPath) |
//(1 << kDebugSlowestFieldPath) |
//(1 << kDebugSlowestStringPath) |
+ //(1 << kDebugExerciseResolveMethod) |
0;
std::string compilerMethodMatch; // Method name match to apply above flags