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. | 5 // TODO(jochen): Remove this after the setting is turned on globally. |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | 6 #define V8_IMMINENT_DEPRECATION_WARNINGS |
7 | 7 |
8 #include "src/compiler/access-builder.h" | 8 #include "src/compiler/access-builder.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
11 #include "src/compiler/graph-visualizer.h" | 11 #include "src/compiler/graph-visualizer.h" |
12 #include "src/compiler/js-graph.h" | 12 #include "src/compiler/js-graph.h" |
13 #include "src/compiler/js-operator.h" | 13 #include "src/compiler/js-operator.h" |
14 #include "src/compiler/loop-analysis.h" | 14 #include "src/compiler/loop-analysis.h" |
15 #include "src/compiler/node.h" | 15 #include "src/compiler/node.h" |
16 #include "src/compiler/opcodes.h" | 16 #include "src/compiler/opcodes.h" |
17 #include "src/compiler/operator.h" | 17 #include "src/compiler/operator.h" |
18 #include "src/compiler/schedule.h" | 18 #include "src/compiler/schedule.h" |
19 #include "src/compiler/scheduler.h" | 19 #include "src/compiler/scheduler.h" |
20 #include "src/compiler/simplified-operator.h" | 20 #include "src/compiler/simplified-operator.h" |
21 #include "src/compiler/verifier.h" | 21 #include "src/compiler/verifier.h" |
22 #include "test/cctest/cctest.h" | 22 #include "test/cctest/cctest.h" |
23 | 23 |
24 using namespace v8::internal; | 24 namespace v8 { |
25 using namespace v8::internal::compiler; | 25 namespace internal { |
| 26 namespace compiler { |
26 | 27 |
27 static Operator kIntAdd(IrOpcode::kInt32Add, Operator::kPure, "Int32Add", 2, 0, | 28 static Operator kIntAdd(IrOpcode::kInt32Add, Operator::kPure, "Int32Add", 2, 0, |
28 0, 1, 0, 0); | 29 0, 1, 0, 0); |
29 static Operator kIntLt(IrOpcode::kInt32LessThan, Operator::kPure, | 30 static Operator kIntLt(IrOpcode::kInt32LessThan, Operator::kPure, |
30 "Int32LessThan", 2, 0, 0, 1, 0, 0); | 31 "Int32LessThan", 2, 0, 0, 1, 0, 0); |
31 static Operator kStore(IrOpcode::kStore, Operator::kNoProperties, "Store", 1, 1, | 32 static Operator kStore(IrOpcode::kStore, Operator::kNoProperties, "Store", 1, 1, |
32 1, 0, 1, 0); | 33 1, 0, 1, 0); |
33 | 34 |
34 static const int kNumLeafs = 4; | 35 static const int kNumLeafs = 4; |
35 | 36 |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); } | 1007 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); } |
1007 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); } | 1008 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); } |
1008 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); } | 1009 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); } |
1009 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); } | 1010 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); } |
1010 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); } | 1011 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); } |
1011 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); } | 1012 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); } |
1012 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); } | 1013 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); } |
1013 | 1014 |
1014 | 1015 |
1015 TEST(LaPhiTangle) { LoopFinderTester t; } | 1016 TEST(LaPhiTangle) { LoopFinderTester t; } |
| 1017 |
| 1018 } // namespace compiler |
| 1019 } // namespace internal |
| 1020 } // namespace v8 |
OLD | NEW |