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/js-inlining.h" | 5 #include "src/compiler/js-inlining.h" |
6 | 6 |
7 #include "src/ast.h" | 7 #include "src/ast/ast.h" |
8 #include "src/ast-numbering.h" | 8 #include "src/ast/ast-numbering.h" |
| 9 #include "src/ast/scopes.h" |
9 #include "src/compiler.h" | 10 #include "src/compiler.h" |
10 #include "src/compiler/all-nodes.h" | 11 #include "src/compiler/all-nodes.h" |
11 #include "src/compiler/ast-graph-builder.h" | 12 #include "src/compiler/ast-graph-builder.h" |
12 #include "src/compiler/common-operator.h" | 13 #include "src/compiler/common-operator.h" |
13 #include "src/compiler/graph-reducer.h" | 14 #include "src/compiler/graph-reducer.h" |
14 #include "src/compiler/js-operator.h" | 15 #include "src/compiler/js-operator.h" |
15 #include "src/compiler/node-matchers.h" | 16 #include "src/compiler/node-matchers.h" |
16 #include "src/compiler/node-properties.h" | 17 #include "src/compiler/node-properties.h" |
17 #include "src/compiler/operator-properties.h" | 18 #include "src/compiler/operator-properties.h" |
18 #include "src/isolate-inl.h" | 19 #include "src/isolate-inl.h" |
19 #include "src/parser.h" | 20 #include "src/parsing/parser.h" |
20 #include "src/rewriter.h" | 21 #include "src/parsing/rewriter.h" |
21 #include "src/scopes.h" | |
22 | 22 |
23 namespace v8 { | 23 namespace v8 { |
24 namespace internal { | 24 namespace internal { |
25 namespace compiler { | 25 namespace compiler { |
26 | 26 |
27 #define TRACE(...) \ | 27 #define TRACE(...) \ |
28 do { \ | 28 do { \ |
29 if (FLAG_trace_turbo_inlining) PrintF(__VA_ARGS__); \ | 29 if (FLAG_trace_turbo_inlining) PrintF(__VA_ARGS__); \ |
30 } while (false) | 30 } while (false) |
31 | 31 |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 node, frame_state, call.formal_arguments(), | 496 node, frame_state, call.formal_arguments(), |
497 FrameStateType::kArgumentsAdaptor, info.shared_info()); | 497 FrameStateType::kArgumentsAdaptor, info.shared_info()); |
498 } | 498 } |
499 | 499 |
500 return InlineCall(node, new_target, context, frame_state, start, end); | 500 return InlineCall(node, new_target, context, frame_state, start, end); |
501 } | 501 } |
502 | 502 |
503 } // namespace compiler | 503 } // namespace compiler |
504 } // namespace internal | 504 } // namespace internal |
505 } // namespace v8 | 505 } // namespace v8 |
OLD | NEW |