OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <functional> | 8 #include <functional> |
6 | 9 |
7 #include "src/v8.h" | 10 #include "src/v8.h" |
8 #include "test/cctest/cctest.h" | 11 #include "test/cctest/cctest.h" |
9 | 12 |
10 #include "src/compiler/graph.h" | 13 #include "src/compiler/graph.h" |
11 #include "src/compiler/node.h" | 14 #include "src/compiler/node.h" |
12 #include "src/compiler/operator.h" | 15 #include "src/compiler/operator.h" |
13 | 16 |
14 using namespace v8::internal; | 17 using namespace v8::internal; |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 CheckInputs(last, nodes, i); | 780 CheckInputs(last, nodes, i); |
778 | 781 |
779 for (int j = 0; j < i; j++) { | 782 for (int j = 0; j < i; j++) { |
780 if (j < i) CHECK_USES(nodes[j], last); | 783 if (j < i) CHECK_USES(nodes[j], last); |
781 if (j >= i) CHECK_USES(nodes[j], NONE); | 784 if (j >= i) CHECK_USES(nodes[j], NONE); |
782 } | 785 } |
783 | 786 |
784 CHECK_USES(last, NONE); | 787 CHECK_USES(last, NONE); |
785 } | 788 } |
786 } | 789 } |
OLD | NEW |