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.h" |
8 #include "src/ast-numbering.h" | 8 #include "src/ast-numbering.h" |
9 #include "src/compiler/all-nodes.h" | 9 #include "src/compiler/all-nodes.h" |
10 #include "src/compiler/ast-graph-builder.h" | 10 #include "src/compiler/ast-graph-builder.h" |
11 #include "src/compiler/common-operator.h" | 11 #include "src/compiler/common-operator.h" |
12 #include "src/compiler/js-operator.h" | 12 #include "src/compiler/js-operator.h" |
13 #include "src/compiler/node-matchers.h" | 13 #include "src/compiler/node-matchers.h" |
14 #include "src/compiler/node-properties.h" | 14 #include "src/compiler/node-properties.h" |
15 #include "src/compiler/operator-properties.h" | 15 #include "src/compiler/operator-properties.h" |
16 #include "src/full-codegen.h" | 16 #include "src/full-codegen/full-codegen.h" |
17 #include "src/parser.h" | 17 #include "src/parser.h" |
18 #include "src/rewriter.h" | 18 #include "src/rewriter.h" |
19 #include "src/scopes.h" | 19 #include "src/scopes.h" |
20 | 20 |
21 namespace v8 { | 21 namespace v8 { |
22 namespace internal { | 22 namespace internal { |
23 namespace compiler { | 23 namespace compiler { |
24 | 24 |
25 #define TRACE(...) \ | 25 #define TRACE(...) \ |
26 do { \ | 26 do { \ |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 345 |
346 // Remember that we inlined this function. | 346 // Remember that we inlined this function. |
347 info_->AddInlinedFunction(info.shared_info()); | 347 info_->AddInlinedFunction(info.shared_info()); |
348 | 348 |
349 return InlineCall(node, context, frame_state, start, end); | 349 return InlineCall(node, context, frame_state, start, end); |
350 } | 350 } |
351 | 351 |
352 } // namespace compiler | 352 } // namespace compiler |
353 } // namespace internal | 353 } // namespace internal |
354 } // namespace v8 | 354 } // namespace v8 |
OLD | NEW |