| 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.h" | 9 #include "src/compiler.h" |
| 10 #include "src/compiler/all-nodes.h" | 10 #include "src/compiler/all-nodes.h" |
| 11 #include "src/compiler/ast-graph-builder.h" | 11 #include "src/compiler/ast-graph-builder.h" |
| 12 #include "src/compiler/common-operator.h" | 12 #include "src/compiler/common-operator.h" |
| 13 #include "src/compiler/js-operator.h" | 13 #include "src/compiler/js-operator.h" |
| 14 #include "src/compiler/node-matchers.h" | 14 #include "src/compiler/node-matchers.h" |
| 15 #include "src/compiler/node-properties.h" | 15 #include "src/compiler/node-properties.h" |
| 16 #include "src/compiler/operator-properties.h" | 16 #include "src/compiler/operator-properties.h" |
| 17 #include "src/full-codegen/full-codegen.h" | |
| 18 #include "src/isolate-inl.h" | 17 #include "src/isolate-inl.h" |
| 19 #include "src/parser.h" | 18 #include "src/parser.h" |
| 20 #include "src/rewriter.h" | 19 #include "src/rewriter.h" |
| 21 #include "src/scopes.h" | 20 #include "src/scopes.h" |
| 22 | 21 |
| 23 namespace v8 { | 22 namespace v8 { |
| 24 namespace internal { | 23 namespace internal { |
| 25 namespace compiler { | 24 namespace compiler { |
| 26 | 25 |
| 27 #define TRACE(...) \ | 26 #define TRACE(...) \ |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 | 366 |
| 368 // Remember that we inlined this function. | 367 // Remember that we inlined this function. |
| 369 info_->AddInlinedFunction(info.shared_info()); | 368 info_->AddInlinedFunction(info.shared_info()); |
| 370 | 369 |
| 371 return InlineCall(node, context, frame_state, start, end); | 370 return InlineCall(node, context, frame_state, start, end); |
| 372 } | 371 } |
| 373 | 372 |
| 374 } // namespace compiler | 373 } // namespace compiler |
| 375 } // namespace internal | 374 } // namespace internal |
| 376 } // namespace v8 | 375 } // namespace v8 |
| OLD | NEW |