| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 541e0452fa943273eb152769329863d4257ce614..90e7385230ee0487cf0b50ce69bb989ccc71533d 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) == rFloat64) MarkAsDouble(node);
|
| + if (RepresentationOf(rep) == rTagged) MarkAsReference(node);
|
| }
|
|
|
|
|
|
|