Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index 0333de89c3fe97d9a494983d382ffb3a13fb72d4..f5aed714cb2851b1977aab20def9df909e36ee92 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -153,16 +153,27 @@ class InstructionSelector final { |
// Inform the register allocation of the representation of the value produced |
// by {node}. |
- void MarkAsRepresentation(MachineType rep, Node* node); |
- void MarkAsWord32(Node* node) { MarkAsRepresentation(kRepWord32, node); } |
- void MarkAsWord64(Node* node) { MarkAsRepresentation(kRepWord64, node); } |
- void MarkAsFloat32(Node* node) { MarkAsRepresentation(kRepFloat32, node); } |
- void MarkAsFloat64(Node* node) { MarkAsRepresentation(kRepFloat64, node); } |
- void MarkAsReference(Node* node) { MarkAsRepresentation(kRepTagged, node); } |
+ void MarkAsRepresentation(MachineRepresentation rep, Node* node); |
+ void MarkAsWord32(Node* node) { |
+ MarkAsRepresentation(MachineRepresentation::kWord32, node); |
+ } |
+ void MarkAsWord64(Node* node) { |
+ MarkAsRepresentation(MachineRepresentation::kWord64, node); |
+ } |
+ void MarkAsFloat32(Node* node) { |
+ MarkAsRepresentation(MachineRepresentation::kFloat32, node); |
+ } |
+ void MarkAsFloat64(Node* node) { |
+ MarkAsRepresentation(MachineRepresentation::kFloat64, node); |
+ } |
+ void MarkAsReference(Node* node) { |
+ MarkAsRepresentation(MachineRepresentation::kTagged, node); |
+ } |
// Inform the register allocation of the representation of the unallocated |
// operand {op}. |
- void MarkAsRepresentation(MachineType rep, const InstructionOperand& op); |
+ void MarkAsRepresentation(MachineRepresentation rep, |
+ const InstructionOperand& op); |
enum CallBufferFlag { |
kCallCodeImmediate = 1u << 0, |