[maglev] Use phi unicode symbol in maglev printer

Bug: v8:7700
Change-Id: I1cc74a53cde8594b3f0b116c7876e0d70139084c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3856583
Reviewed-by: Leszek 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}
This commit is contained in:
Victor Gomes 2022-08-25 14:01:02 +02:00 committed by V8 LUCI CQ
parent a25aa43e84
commit c0c00ca9d5

View File

@ -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()) {