Move the try_start dump property to 'flags' am: 1dd292be0d am: e8bfc700b7
Original change: https://android-review.googlesource.com/c/platform/art/+/2320053
Change-Id: I127cbe23e774060aa4431f42aa30a54f59d11964
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc
index 2de9446..646c34e 100644
--- a/compiler/optimizing/graph_visualizer.cc
+++ b/compiler/optimizing/graph_visualizer.cc
@@ -904,15 +904,16 @@
if (block->IsCatchBlock()) {
PrintProperty("flags", "catch_block");
+ } else if (block->IsTryBlock()) {
+ std::stringstream flags_properties;
+ flags_properties << "try_start "
+ << namer_.GetName(block->GetTryCatchInformation()->GetTryEntry().GetBlock());
+ PrintProperty("flags", flags_properties.str().c_str());
} else if (!IsDebugDump()) {
// Don't print useless information to logcat
PrintEmptyProperty("flags");
}
- if (block->IsTryBlock()) {
- PrintProperty("try_start", block->GetTryCatchInformation()->GetTryEntry().GetBlock());
- }
-
if (block->GetDominator() != nullptr) {
PrintProperty("dominator", block->GetDominator());
}