Merge "Fix compiler logging for interface invocations." into dalvik-dev
diff --git a/src/compiler.cc b/src/compiler.cc
index 97a35f0..7bec994 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -837,7 +837,9 @@
   if (has_clinit_trampoline) {
     return;
   }
-  stats_->DirectCallsToBoot(type);
+  if (sharp_type != kInterface) {  // Interfaces always go via a trampoline.
+    stats_->DirectCallsToBoot(type);
+  }
   stats_->DirectMethodsToBoot(type);
   bool compiling_boot = Runtime::Current()->GetHeap()->GetSpaces().size() == 1;
   if (compiling_boot) {