Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index 8a63ec611a02843c71a6aa1bdefc57fb8e32e74b..eb3752cde17046d30ceed70e224c2b9389940ed8 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -41,8 +41,8 @@ class IA32OperandGenerator FINAL : public OperandGenerator { |
void InstructionSelector::VisitLoad(Node* node) { |
- MachineType rep = RepresentationOf(OpParameter<MachineType>(node)); |
- MachineType typ = TypeOf(OpParameter<MachineType>(node)); |
+ MachineType rep = RepresentationOf(OpParameter<LoadRepresentation>(node)); |
+ MachineType typ = TypeOf(OpParameter<LoadRepresentation>(node)); |
IA32OperandGenerator g(this); |
Node* base = node->InputAt(0); |
Node* index = node->InputAt(1); |
@@ -98,8 +98,8 @@ void InstructionSelector::VisitStore(Node* node) { |
Node* value = node->InputAt(2); |
StoreRepresentation store_rep = OpParameter<StoreRepresentation>(node); |
- MachineType rep = RepresentationOf(store_rep.machine_type); |
- if (store_rep.write_barrier_kind == kFullWriteBarrier) { |
+ MachineType rep = RepresentationOf(store_rep.machine_type()); |
+ if (store_rep.write_barrier_kind() == kFullWriteBarrier) { |
DCHECK_EQ(kRepTagged, rep); |
// TODO(dcarney): refactor RecordWrite function to take temp registers |
// and pass them here instead of using fixed regs |
@@ -110,7 +110,7 @@ void InstructionSelector::VisitStore(Node* node) { |
temps); |
return; |
} |
- DCHECK_EQ(kNoWriteBarrier, store_rep.write_barrier_kind); |
+ DCHECK_EQ(kNoWriteBarrier, store_rep.write_barrier_kind()); |
InstructionOperand* val; |
if (g.CanBeImmediate(value)) { |
val = g.UseImmediate(value); |