Commit c0c00ca9 authored by Victor Gomes's avatar Victor Gomes Committed by V8 LUCI CQ

[maglev] Use phi unicode symbol in maglev printer

Bug: v8:7700
Change-Id: I1cc74a53cde8594b3f0b116c7876e0d70139084c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3856583Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82723}
parent a25aa43e
......@@ -457,7 +457,7 @@ void MaglevPrintingVisitor::Process(Phi* phi, const ProcessingState& state) {
PrintVerticalArrows(os_, targets_);
PrintPaddedId(os_, graph_labeller, max_node_id_, phi);
os_ << "Phi (";
os_ << "φ (";
// Manually walk Phi inputs to print just the node labels, without
// input locations (which are shown in the predecessor block's gap
// moves).
......@@ -571,7 +571,7 @@ void MaglevPrintingVisitor::Process(ControlNode* control_node,
os_ << (has_fallthrough ? "│" : " ");
os_ << " - ";
graph_labeller->PrintInput(os_, phi->input(pid));
os_ << " → " << graph_labeller->NodeId(phi) << ": Phi "
os_ << " → " << graph_labeller->NodeId(phi) << ": φ "
<< phi->result().operand() << "\n";
}
if (target->state()->register_state().is_initialized()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment