| Index: test/unittests/compiler/instruction-sequence-unittest.cc
|
| diff --git a/test/unittests/compiler/instruction-sequence-unittest.cc b/test/unittests/compiler/instruction-sequence-unittest.cc
|
| index c2e626fd5981b92445200d8266373540e58be431..abc53940efe4c45aafb228e10892bc8af992c29d 100644
|
| --- a/test/unittests/compiler/instruction-sequence-unittest.cc
|
| +++ b/test/unittests/compiler/instruction-sequence-unittest.cc
|
| @@ -129,8 +129,7 @@ Instruction* InstructionSequenceTest::EndBlock(BlockCompletion completion) {
|
|
|
|
|
| InstructionSequenceTest::TestOperand InstructionSequenceTest::Imm(int32_t imm) {
|
| - int index = sequence()->AddImmediate(Constant(imm));
|
| - return TestOperand(kImmediate, index);
|
| + return TestOperand(kImmediate, imm);
|
| }
|
|
|
|
|
| @@ -357,7 +356,7 @@ InstructionOperand* InstructionSequenceTest::ConvertInputs(
|
| InstructionOperand InstructionSequenceTest::ConvertInputOp(TestOperand op) {
|
| if (op.type_ == kImmediate) {
|
| CHECK_EQ(op.vreg_.value_, kNoValue);
|
| - return ImmediateOperand(op.value_);
|
| + return ImmediateOperand(ImmediateOperand::INLINE, op.value_);
|
| }
|
| CHECK_NE(op.vreg_.value_, kNoValue);
|
| switch (op.type_) {
|
|
|