| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/compiler/access-builder.h" | 7 #include "src/compiler/access-builder.h" |
| 8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
| 10 #include "src/compiler/graph-visualizer.h" | 10 #include "src/compiler/graph-visualizer.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 common(main_zone()), | 40 common(main_zone()), |
| 41 graph(main_zone()), | 41 graph(main_zone()), |
| 42 jsgraph(main_isolate(), &graph, &common, NULL, NULL), | 42 jsgraph(main_isolate(), &graph, &common, NULL, NULL), |
| 43 start(graph.NewNode(common.Start(1))), | 43 start(graph.NewNode(common.Start(1))), |
| 44 end(graph.NewNode(common.End(1), start)), | 44 end(graph.NewNode(common.End(1), start)), |
| 45 p0(graph.NewNode(common.Parameter(0), start)), | 45 p0(graph.NewNode(common.Parameter(0), start)), |
| 46 zero(jsgraph.Int32Constant(0)), | 46 zero(jsgraph.Int32Constant(0)), |
| 47 one(jsgraph.OneConstant()), | 47 one(jsgraph.OneConstant()), |
| 48 half(jsgraph.Constant(0.5)), | 48 half(jsgraph.Constant(0.5)), |
| 49 self(graph.NewNode(common.Int32Constant(0xaabbccdd))), | 49 self(graph.NewNode(common.Int32Constant(0xaabbccdd))), |
| 50 dead(graph.NewNode(common.DeadControl())), | 50 dead(graph.NewNode(common.Dead())), |
| 51 loop_tree(NULL) { | 51 loop_tree(NULL) { |
| 52 graph.SetEnd(end); | 52 graph.SetEnd(end); |
| 53 graph.SetStart(start); | 53 graph.SetStart(start); |
| 54 leaf[0] = zero; | 54 leaf[0] = zero; |
| 55 leaf[1] = one; | 55 leaf[1] = one; |
| 56 leaf[2] = half; | 56 leaf[2] = half; |
| 57 leaf[3] = p0; | 57 leaf[3] = p0; |
| 58 } | 58 } |
| 59 | 59 |
| 60 Isolate* isolate; | 60 Isolate* isolate; |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); } | 1006 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); } |
| 1007 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); } | 1007 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); } |
| 1008 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); } | 1008 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); } |
| 1009 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); } | 1009 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); } |
| 1010 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); } | 1010 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); } |
| 1011 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); } | 1011 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); } |
| 1012 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); } | 1012 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); } |
| 1013 | 1013 |
| 1014 | 1014 |
| 1015 TEST(LaPhiTangle) { LoopFinderTester t; } | 1015 TEST(LaPhiTangle) { LoopFinderTester t; } |
| OLD | NEW |