| Index: test/cctest/compiler/test-instruction.cc
|
| diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc
|
| index cde475b35fd3bcff30484bf42462eedd193267cf..defd9b669ee6edd1b955608aa2753f5d255aa723 100644
|
| --- a/test/cctest/compiler/test-instruction.cc
|
| +++ b/test/cctest/compiler/test-instruction.cc
|
| @@ -54,7 +54,7 @@ class InstructionTester : public HandleAndZoneScope {
|
| Scheduler::ComputeSpecialRPO(&schedule);
|
| DCHECK(schedule.rpo_order()->size() > 0);
|
| }
|
| - code = new TestInstrSeq(main_zone(), &linkage, &graph, &schedule);
|
| + code = new TestInstrSeq(main_zone(), &graph, &schedule);
|
| }
|
|
|
| Node* Int32Constant(int32_t val) {
|
| @@ -130,7 +130,7 @@ TEST(InstructionBasic) {
|
| CHECK_EQ(R.graph.NodeCount(), R.code->node_count());
|
|
|
| BasicBlockVector* blocks = R.schedule.rpo_order();
|
| - CHECK_EQ(static_cast<int>(blocks->size()), R.code->BasicBlockCount());
|
| + CHECK_EQ(static_cast<int>(blocks->size()), R.code->InstructionBlockCount());
|
|
|
| int index = 0;
|
| for (BasicBlockVectorIter i = blocks->begin(); i != blocks->end();
|
|
|