Add extra failed inlining reasons
Added reasons for polymorphic invoke, custom, and unresolved.
Added a counter for the total number of inline attempts.
Test: run dex2oat on APK with --dump-stats
Change-Id: I57aa83dc7ac5fa8897b0c197f416baf46fbe9d53
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h
index 83dbef7..621e863 100644
--- a/compiler/optimizing/optimizing_compiler_stats.h
+++ b/compiler/optimizing/optimizing_compiler_stats.h
@@ -97,6 +97,10 @@
kNotInlinedWont,
kNotInlinedRecursiveBudget,
kNotInlinedProxy,
+ kNotInlinedUnresolved,
+ kNotInlinedPolymorphic,
+ kNotInlinedCustom,
+ kTryInline,
kConstructorFenceGeneratedNew,
kConstructorFenceGeneratedFinal,
kConstructorFenceRemovedLSE,