| 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/compilation-dependencies.h" | 5 #include "src/compilation-dependencies.h" |
| 6 #include "src/compiler/js-graph.h" | 6 #include "src/compiler/js-graph.h" |
| 7 #include "src/compiler/js-typed-lowering.h" | 7 #include "src/compiler/js-typed-lowering.h" |
| 8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
| 9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
| 10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 JSTypedLowering::Flags flags = JSTypedLowering::kDeoptimizationEnabled) | 31 JSTypedLowering::Flags flags = JSTypedLowering::kDeoptimizationEnabled) |
| 32 : isolate(main_isolate()), | 32 : isolate(main_isolate()), |
| 33 binop(NULL), | 33 binop(NULL), |
| 34 unop(NULL), | 34 unop(NULL), |
| 35 javascript(main_zone()), | 35 javascript(main_zone()), |
| 36 machine(main_zone()), | 36 machine(main_zone()), |
| 37 simplified(main_zone()), | 37 simplified(main_zone()), |
| 38 common(main_zone()), | 38 common(main_zone()), |
| 39 deps(main_isolate(), main_zone()), | 39 deps(main_isolate(), main_zone()), |
| 40 graph(main_zone()), | 40 graph(main_zone()), |
| 41 typer(main_isolate(), &graph), | 41 typer(main_isolate(), Typer::kNoFlags, &graph), |
| 42 context_node(NULL), | 42 context_node(NULL), |
| 43 flags(flags) { | 43 flags(flags) { |
| 44 graph.SetStart(graph.NewNode(common.Start(num_parameters))); | 44 graph.SetStart(graph.NewNode(common.Start(num_parameters))); |
| 45 graph.SetEnd(graph.NewNode(common.End(1), graph.start())); | 45 graph.SetEnd(graph.NewNode(common.End(1), graph.start())); |
| 46 typer.Run(); | 46 typer.Run(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 Isolate* isolate; | 49 Isolate* isolate; |
| 50 const Operator* binop; | 50 const Operator* binop; |
| 51 const Operator* unop; | 51 const Operator* unop; |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 CHECK_EQ(p1, r->InputAt(1)); | 1245 CHECK_EQ(p1, r->InputAt(1)); |
| 1246 } | 1246 } |
| 1247 } | 1247 } |
| 1248 } | 1248 } |
| 1249 } | 1249 } |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 } // namespace compiler | 1252 } // namespace compiler |
| 1253 } // namespace internal | 1253 } // namespace internal |
| 1254 } // namespace v8 | 1254 } // namespace v8 |
| OLD | NEW |