[turbofan] Small fix in live range printer.
Fixed ranges don't have operands assigned, for example. BUG= Review URL: https://codereview.chromium.org/1326643006 Cr-Commit-Position: refs/heads/master@{#30561}
This commit is contained in:
parent
47d42a9ac1
commit
708dde7777
@ -1058,8 +1058,10 @@ std::ostream& operator<<(std::ostream& os,
|
||||
PrintableInstructionOperand pio;
|
||||
pio.register_configuration_ = printable_range.register_configuration_;
|
||||
while (use_pos != nullptr) {
|
||||
pio.op_ = *use_pos->operand();
|
||||
os << pio << use_pos->pos() << " ";
|
||||
if (use_pos->HasOperand()) {
|
||||
pio.op_ = *use_pos->operand();
|
||||
os << pio << use_pos->pos() << " ";
|
||||
}
|
||||
use_pos = use_pos->next();
|
||||
}
|
||||
os << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user