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 #include <functional> | 5 #include <functional> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 #include "test/cctest/cctest.h" | 8 #include "test/cctest/cctest.h" |
9 | 9 |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 CheckInputs(last, nodes, i); | 766 CheckInputs(last, nodes, i); |
767 | 767 |
768 for (int j = 0; j < i; j++) { | 768 for (int j = 0; j < i; j++) { |
769 if (j < i) CHECK_USES(nodes[j], last); | 769 if (j < i) CHECK_USES(nodes[j], last); |
770 if (j >= i) CHECK_USES(nodes[j], NONE); | 770 if (j >= i) CHECK_USES(nodes[j], NONE); |
771 } | 771 } |
772 | 772 |
773 CHECK_USES(last, NONE); | 773 CHECK_USES(last, NONE); |
774 } | 774 } |
775 } | 775 } |
| 776 |
| 777 #undef NONE |
OLD | NEW |