OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // TODO(jochen): Remove this after the setting is turned on globally. |
| 6 #define V8_IMMINENT_DEPRECATION_WARNINGS |
| 7 |
5 #include "src/codegen.h" | 8 #include "src/codegen.h" |
6 #include "src/compiler/all-nodes.h" | 9 #include "src/compiler/all-nodes.h" |
7 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
8 #include "src/compiler/diamond.h" | 11 #include "src/compiler/diamond.h" |
9 #include "src/compiler/graph.h" | 12 #include "src/compiler/graph.h" |
10 #include "src/compiler/js-graph.h" | 13 #include "src/compiler/js-graph.h" |
11 #include "src/compiler/js-operator.h" | 14 #include "src/compiler/js-operator.h" |
12 #include "src/compiler/operator.h" | 15 #include "src/compiler/operator.h" |
13 #include "src/compiler/osr.h" | 16 #include "src/compiler/osr.h" |
14 #include "test/cctest/cctest.h" | 17 #include "test/cctest/cctest.h" |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 | 559 |
557 Node* new_loop0_phi = new_ret->InputAt(0); | 560 Node* new_loop0_phi = new_ret->InputAt(0); |
558 CHECK_EQ(IrOpcode::kPhi, new_loop0_phi->opcode()); | 561 CHECK_EQ(IrOpcode::kPhi, new_loop0_phi->opcode()); |
559 CHECK_EQ(new_loop0_loop, NodeProperties::GetControlInput(new_loop0_phi)); | 562 CHECK_EQ(new_loop0_loop, NodeProperties::GetControlInput(new_loop0_phi)); |
560 CHECK_EQ(new_loop0_phi, FindSuccessor(new_loop0_loop, IrOpcode::kPhi)); | 563 CHECK_EQ(new_loop0_phi, FindSuccessor(new_loop0_loop, IrOpcode::kPhi)); |
561 | 564 |
562 // Check that the return returns the phi from the OSR loop and control | 565 // Check that the return returns the phi from the OSR loop and control |
563 // depends on the copy of the outer loop0. | 566 // depends on the copy of the outer loop0. |
564 CheckInputs(new_ret, new_loop0_phi, T.graph.start(), new_loop0_exit); | 567 CheckInputs(new_ret, new_loop0_phi, T.graph.start(), new_loop0_exit); |
565 } | 568 } |
OLD | NEW |