OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 "src/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compilation-info.h" | 6 #include "src/compilation-info.h" |
7 #include "src/compiler/ast-loop-assignment-analyzer.h" | 7 #include "src/compiler/ast-loop-assignment-analyzer.h" |
| 8 #include "src/objects-inl.h" |
8 #include "src/parsing/parse-info.h" | 9 #include "src/parsing/parse-info.h" |
9 #include "src/parsing/parsing.h" | 10 #include "src/parsing/parsing.h" |
10 #include "src/parsing/rewriter.h" | 11 #include "src/parsing/rewriter.h" |
11 #include "test/cctest/cctest.h" | 12 #include "test/cctest/cctest.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 namespace compiler { | 16 namespace compiler { |
16 | 17 |
17 namespace { | 18 namespace { |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 275 |
275 f.CheckLoopAssignedCount(1, "x"); | 276 f.CheckLoopAssignedCount(1, "x"); |
276 f.CheckLoopAssignedCount(3, "y"); | 277 f.CheckLoopAssignedCount(3, "y"); |
277 f.CheckLoopAssignedCount(5, "z"); | 278 f.CheckLoopAssignedCount(5, "z"); |
278 f.CheckLoopAssignedCount(0, "w"); | 279 f.CheckLoopAssignedCount(0, "w"); |
279 } | 280 } |
280 | 281 |
281 } // namespace compiler | 282 } // namespace compiler |
282 } // namespace internal | 283 } // namespace internal |
283 } // namespace v8 | 284 } // namespace v8 |
OLD | NEW |