summaryrefslogtreecommitdiff
path: root/chromium/v8/src/compiler/backend/instruction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/compiler/backend/instruction.cc')
-rw-r--r--chromium/v8/src/compiler/backend/instruction.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/v8/src/compiler/backend/instruction.cc b/chromium/v8/src/compiler/backend/instruction.cc
index 43824e8fcb9..f90a249d9a3 100644
--- a/chromium/v8/src/compiler/backend/instruction.cc
+++ b/chromium/v8/src/compiler/backend/instruction.cc
@@ -155,8 +155,8 @@ std::ostream& operator<<(std::ostream& os, const InstructionOperand& op) {
return os << "(R)";
case UnallocatedOperand::MUST_HAVE_SLOT:
return os << "(S)";
- case UnallocatedOperand::SAME_AS_FIRST_INPUT:
- return os << "(1)";
+ case UnallocatedOperand::SAME_AS_INPUT:
+ return os << "(" << unalloc->input_index() << ")";
case UnallocatedOperand::REGISTER_OR_SLOT:
return os << "(-)";
case UnallocatedOperand::REGISTER_OR_SLOT_OR_CONSTANT:
@@ -247,6 +247,8 @@ std::ostream& operator<<(std::ostream& os, const InstructionOperand& op) {
case MachineRepresentation::kCompressed:
os << "|c";
break;
+ case MachineRepresentation::kMapWord:
+ UNREACHABLE();
}
return os << "]";
}
@@ -914,6 +916,7 @@ static MachineRepresentation FilterRepresentation(MachineRepresentation rep) {
case MachineRepresentation::kCompressed:
return rep;
case MachineRepresentation::kNone:
+ case MachineRepresentation::kMapWord:
break;
}