| Index: test/cctest/compiler/test-instruction.cc
|
| diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc
|
| index 3afd74fa66c5652226a93b9feea23cddc0537493..a773f10f652fbefb2519a0aad82a15fd5e524e53 100644
|
| --- a/test/cctest/compiler/test-instruction.cc
|
| +++ b/test/cctest/compiler/test-instruction.cc
|
| @@ -59,19 +59,19 @@ class InstructionTester : public HandleAndZoneScope {
|
|
|
| Node* Int32Constant(int32_t val) {
|
| Node* node = graph.NewNode(common.Int32Constant(val));
|
| - schedule.AddNode(schedule.entry(), node);
|
| + schedule.AddNode(schedule.start(), node);
|
| return node;
|
| }
|
|
|
| Node* Float64Constant(double val) {
|
| Node* node = graph.NewNode(common.Float64Constant(val));
|
| - schedule.AddNode(schedule.entry(), node);
|
| + schedule.AddNode(schedule.start(), node);
|
| return node;
|
| }
|
|
|
| Node* Parameter(int32_t which) {
|
| Node* node = graph.NewNode(common.Parameter(which));
|
| - schedule.AddNode(schedule.entry(), node);
|
| + schedule.AddNode(schedule.start(), node);
|
| return node;
|
| }
|
|
|
| @@ -103,7 +103,7 @@ TEST(InstructionBasic) {
|
| R.Int32Constant(i); // Add some nodes to the graph.
|
| }
|
|
|
| - BasicBlock* last = R.schedule.entry();
|
| + BasicBlock* last = R.schedule.start();
|
| for (int i = 0; i < 5; i++) {
|
| BasicBlock* block = R.schedule.NewBasicBlock();
|
| R.schedule.AddGoto(last, block);
|
| @@ -130,10 +130,10 @@ TEST(InstructionBasic) {
|
| TEST(InstructionGetBasicBlock) {
|
| InstructionTester R;
|
|
|
| - BasicBlock* b0 = R.schedule.entry();
|
| + BasicBlock* b0 = R.schedule.start();
|
| BasicBlock* b1 = R.schedule.NewBasicBlock();
|
| BasicBlock* b2 = R.schedule.NewBasicBlock();
|
| - BasicBlock* b3 = R.schedule.exit();
|
| + BasicBlock* b3 = R.schedule.end();
|
|
|
| R.schedule.AddGoto(b0, b1);
|
| R.schedule.AddGoto(b1, b2);
|
| @@ -188,7 +188,7 @@ TEST(InstructionGetBasicBlock) {
|
| TEST(InstructionIsGapAt) {
|
| InstructionTester R;
|
|
|
| - BasicBlock* b0 = R.schedule.entry();
|
| + BasicBlock* b0 = R.schedule.start();
|
| R.schedule.AddReturn(b0, R.Int32Constant(1));
|
|
|
| R.allocCode();
|
| @@ -213,8 +213,8 @@ TEST(InstructionIsGapAt) {
|
| TEST(InstructionIsGapAt2) {
|
| InstructionTester R;
|
|
|
| - BasicBlock* b0 = R.schedule.entry();
|
| - BasicBlock* b1 = R.schedule.exit();
|
| + BasicBlock* b0 = R.schedule.start();
|
| + BasicBlock* b1 = R.schedule.end();
|
| R.schedule.AddGoto(b0, b1);
|
| R.schedule.AddReturn(b1, R.Int32Constant(1));
|
|
|
| @@ -256,7 +256,7 @@ TEST(InstructionIsGapAt2) {
|
| TEST(InstructionAddGapMove) {
|
| InstructionTester R;
|
|
|
| - BasicBlock* b0 = R.schedule.entry();
|
| + BasicBlock* b0 = R.schedule.start();
|
| R.schedule.AddReturn(b0, R.Int32Constant(1));
|
|
|
| R.allocCode();
|
|
|