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 // TODO(jochen): Remove this after the setting is turned on globally. | |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
7 | |
8 #include "src/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
9 #include "src/compiler/ast-loop-assignment-analyzer.h" | 6 #include "src/compiler/ast-loop-assignment-analyzer.h" |
10 #include "src/parsing/parser.h" | 7 #include "src/parsing/parser.h" |
11 #include "src/parsing/rewriter.h" | 8 #include "src/parsing/rewriter.h" |
12 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
13 | 10 |
14 namespace v8 { | 11 namespace v8 { |
15 namespace internal { | 12 namespace internal { |
16 namespace compiler { | 13 namespace compiler { |
17 | 14 |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 291 |
295 f.CheckLoopAssignedCount(1, "x"); | 292 f.CheckLoopAssignedCount(1, "x"); |
296 f.CheckLoopAssignedCount(3, "y"); | 293 f.CheckLoopAssignedCount(3, "y"); |
297 f.CheckLoopAssignedCount(5, "z"); | 294 f.CheckLoopAssignedCount(5, "z"); |
298 f.CheckLoopAssignedCount(0, "w"); | 295 f.CheckLoopAssignedCount(0, "w"); |
299 } | 296 } |
300 | 297 |
301 } // namespace compiler | 298 } // namespace compiler |
302 } // namespace internal | 299 } // namespace internal |
303 } // namespace v8 | 300 } // namespace v8 |
OLD | NEW |