Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 03215387817e1f377f0175793caa3f2d2db070f4..ddfa63d5841098badcfb438664fbbc6751e5c71c 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -174,9 +174,9 @@ void InstructionSelector::VisitStore(Node* node) { |
Node* index = node->InputAt(1); |
Node* value = node->InputAt(2); |
- StoreRepresentation store_rep = OpParameter<StoreRepresentation>(node); |
+ StoreRepresentation store_rep = StoreRepresentationOf(node->op()); |
WriteBarrierKind write_barrier_kind = store_rep.write_barrier_kind(); |
- MachineRepresentation rep = store_rep.machine_type().representation(); |
+ MachineRepresentation rep = store_rep.representation(); |
if (write_barrier_kind != kNoWriteBarrier) { |
DCHECK_EQ(MachineRepresentation::kTagged, rep); |
@@ -305,8 +305,7 @@ void InstructionSelector::VisitCheckedLoad(Node* node) { |
void InstructionSelector::VisitCheckedStore(Node* node) { |
- MachineRepresentation rep = |
- CheckedStoreRepresentationOf(node->op()).representation(); |
+ MachineRepresentation rep = CheckedStoreRepresentationOf(node->op()); |
X87OperandGenerator g(this); |
Node* const buffer = node->InputAt(0); |
Node* const offset = node->InputAt(1); |