Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index e5773c39aa8676e6ee08115a8ab5bc3b2380e026..a710d07260c5583d60e27e4d3ab8ebe62fcbcaa4 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -155,9 +155,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); |
@@ -287,8 +287,7 @@ void InstructionSelector::VisitCheckedLoad(Node* node) { |
void InstructionSelector::VisitCheckedStore(Node* node) { |
- MachineRepresentation rep = |
- CheckedStoreRepresentationOf(node->op()).representation(); |
+ MachineRepresentation rep = CheckedStoreRepresentationOf(node->op()); |
X64OperandGenerator g(this); |
Node* const buffer = node->InputAt(0); |
Node* const offset = node->InputAt(1); |