Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index e3d4901bdd58969a25f425cbbc99502548c6feac..bd090b1c2115efb9d4d822fe4240f324840dbe16 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -139,6 +139,18 @@ std::ostream& operator<<(std::ostream& os, |
os << "|E"; |
} |
switch (allocated.representation()) { |
+ case MachineRepresentation::kNone: |
+ os << "|-"; |
+ break; |
+ case MachineRepresentation::kBit: |
+ os << "|b"; |
+ break; |
+ case MachineRepresentation::kWord8: |
+ os << "|w8"; |
+ break; |
+ case MachineRepresentation::kWord16: |
+ os << "|w16"; |
+ break; |
case MachineRepresentation::kWord32: |
os << "|w32"; |
break; |
@@ -154,9 +166,6 @@ std::ostream& operator<<(std::ostream& os, |
case MachineRepresentation::kTagged: |
os << "|t"; |
break; |
- default: |
- os << "|?"; |
- break; |
} |
return os << "]"; |
} |
@@ -718,7 +727,7 @@ static MachineRepresentation FilterRepresentation(MachineRepresentation rep) { |
case MachineRepresentation::kFloat64: |
case MachineRepresentation::kTagged: |
return rep; |
- default: |
+ case MachineRepresentation::kNone: |
break; |
} |
UNREACHABLE(); |