| Index: test/cctest/compiler/test-jump-threading.cc
|
| diff --git a/test/cctest/compiler/test-jump-threading.cc b/test/cctest/compiler/test-jump-threading.cc
|
| index 1dc31bd94ddffe79117e5f374a5ddc0af7438e11..de34711534ebfd2a942d3dd80b2ebcf2af16367f 100644
|
| --- a/test/cctest/compiler/test-jump-threading.cc
|
| +++ b/test/cctest/compiler/test-jump-threading.cc
|
| @@ -66,7 +66,7 @@ class TestCode : public HandleAndZoneScope {
|
| Start();
|
| sequence_.AddInstruction(Instruction::New(main_zone(), kArchNop));
|
| int index = static_cast<int>(sequence_.instructions().size()) - 1;
|
| - AddGapMove(index, ImmediateOperand::New(main_zone(), 11),
|
| + AddGapMove(index, ConstantOperand::New(main_zone(), 11),
|
| RegisterOperand::New(main_zone(), 11));
|
| }
|
| void Other() {
|
| @@ -80,8 +80,7 @@ class TestCode : public HandleAndZoneScope {
|
| rpo_number_ = RpoNumber::FromInt(rpo_number_.ToInt() + 1);
|
| }
|
| InstructionOperand UseRpo(int num) {
|
| - int index = sequence_.AddImmediate(Constant(RpoNumber::FromInt(num)));
|
| - return ImmediateOperand(index);
|
| + return sequence_.AddImmediate(Constant(RpoNumber::FromInt(num)));
|
| }
|
| void Start(bool deferred = false) {
|
| if (current_ == NULL) {
|
|
|