| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 541e0452fa943273eb152769329863d4257ce614..92389bf698c1d780de0beb7e5c8cd2a2f8ce1833 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -232,8 +232,8 @@ void InstructionSelector::MarkAsReference(Node* node) {
|
|
|
| void InstructionSelector::MarkAsRepresentation(MachineType rep, Node* node) {
|
| DCHECK_NOT_NULL(node);
|
| - if (rep == kMachineFloat64) MarkAsDouble(node);
|
| - if (rep == kMachineTagged) MarkAsReference(node);
|
| + if (RepresentationOf(rep) == kRepFloat64) MarkAsDouble(node);
|
| + if (RepresentationOf(rep) == kRepTagged) MarkAsReference(node);
|
| }
|
|
|
|
|
|
|