Implement << operator for ProfileCompilationInfo::DexRefence
It avoids the need to use inner fields in the inliner.
Bug: 139884006
Test: m test-art-host-gtest
Change-Id: I3b2276094829a0e431dc145bf1ff13cbfa746742
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index d57b916..ff7ed34 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -746,8 +746,7 @@
}
}
if (!found) {
- VLOG(compiler) << "Could not find profiled dex file: "
- << offline_profile.dex_references[i].profile_key;
+ VLOG(compiler) << "Could not find profiled dex file: " << offline_profile.dex_references[i];
return kInlineCacheMissingTypes;
}
}