Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index a30806cfb258dfa3354faabfd8123ee92c7c83d4..cd30405b6f2d7da8b6e620d129b98061f210ec12 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -184,9 +184,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(); |
// TODO(mips): I guess this could be done in a better way. |
if (write_barrier_kind != kNoWriteBarrier) { |
@@ -1283,8 +1283,7 @@ void InstructionSelector::VisitCheckedLoad(Node* node) { |
void InstructionSelector::VisitCheckedStore(Node* node) { |
- MachineRepresentation rep = |
- CheckedStoreRepresentationOf(node->op()).representation(); |
+ MachineRepresentation rep = CheckedStoreRepresentationOf(node->op()); |
Mips64OperandGenerator g(this); |
Node* const buffer = node->InputAt(0); |
Node* const offset = node->InputAt(1); |