Index: test/unittests/compiler/move-optimizer-unittest.cc |
diff --git a/test/unittests/compiler/move-optimizer-unittest.cc b/test/unittests/compiler/move-optimizer-unittest.cc |
index 26afc7837bc4886a57ea09c25fea97691355e70e..206f10891d1ce69e159683cc16214e2d4deecb37 100644 |
--- a/test/unittests/compiler/move-optimizer-unittest.cc |
+++ b/test/unittests/compiler/move-optimizer-unittest.cc |
@@ -67,12 +67,12 @@ class MoveOptimizerTest : public InstructionSequenceTest { |
CHECK_NE(kNoValue, op.value_); |
switch (op.type_) { |
case kConstant: |
- return ConstantOperand::New(op.value_, zone()); |
+ return ConstantOperand::New(zone(), op.value_); |
case kFixedSlot: |
- return StackSlotOperand::New(op.value_, zone()); |
+ return StackSlotOperand::New(zone(), op.value_); |
case kFixedRegister: |
CHECK(0 <= op.value_ && op.value_ < num_general_registers()); |
- return RegisterOperand::New(op.value_, zone()); |
+ return RegisterOperand::New(zone(), op.value_); |
default: |
break; |
} |