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/compiler/ast-graph-builder.h" | 5 #include "src/compiler/ast-graph-builder.h" |
6 | 6 |
7 #include "src/ast/compile-time-value.h" | 7 #include "src/ast/compile-time-value.h" |
8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
11 #include "src/compiler/ast-loop-assignment-analyzer.h" | 11 #include "src/compiler/ast-loop-assignment-analyzer.h" |
12 #include "src/compiler/control-builders.h" | 12 #include "src/compiler/control-builders.h" |
13 #include "src/compiler/linkage.h" | 13 #include "src/compiler/linkage.h" |
14 #include "src/compiler/liveness-analyzer.h" | 14 #include "src/compiler/liveness-analyzer.h" |
15 #include "src/compiler/machine-operator.h" | 15 #include "src/compiler/machine-operator.h" |
16 #include "src/compiler/node-matchers.h" | 16 #include "src/compiler/node-matchers.h" |
17 #include "src/compiler/node-properties.h" | 17 #include "src/compiler/node-properties.h" |
18 #include "src/compiler/operator-properties.h" | 18 #include "src/compiler/operator-properties.h" |
19 #include "src/compiler/state-values-utils.h" | 19 #include "src/compiler/state-values-utils.h" |
20 #include "src/objects-inl.h" | 20 #include "src/objects-inl.h" |
21 #include "src/objects/literal-objects.h" | 21 #include "src/objects/literal-objects.h" |
| 22 #include "src/type-feedback-vector.h" |
22 | 23 |
23 namespace v8 { | 24 namespace v8 { |
24 namespace internal { | 25 namespace internal { |
25 namespace compiler { | 26 namespace compiler { |
26 | 27 |
27 | 28 |
28 // Each expression in the AST is evaluated in a specific context. This context | 29 // Each expression in the AST is evaluated in a specific context. This context |
29 // decides how the evaluation result is passed up the visitor. | 30 // decides how the evaluation result is passed up the visitor. |
30 class AstGraphBuilder::AstContext BASE_EMBEDDED { | 31 class AstGraphBuilder::AstContext BASE_EMBEDDED { |
31 public: | 32 public: |
(...skipping 3278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3310 float invocation_frequency, LoopAssignmentAnalysis* loop_assignment, | 3311 float invocation_frequency, LoopAssignmentAnalysis* loop_assignment, |
3311 SourcePositionTable* source_positions, int inlining_id) | 3312 SourcePositionTable* source_positions, int inlining_id) |
3312 : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency, | 3313 : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency, |
3313 loop_assignment), | 3314 loop_assignment), |
3314 source_positions_(source_positions), | 3315 source_positions_(source_positions), |
3315 start_position_(info->shared_info()->start_position(), inlining_id) {} | 3316 start_position_(info->shared_info()->start_position(), inlining_id) {} |
3316 | 3317 |
3317 } // namespace compiler | 3318 } // namespace compiler |
3318 } // namespace internal | 3319 } // namespace internal |
3319 } // namespace v8 | 3320 } // namespace v8 |
OLD | NEW |