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/ast-numbering.h" | 7 #include "src/ast/ast-numbering.h" |
8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
11 #include "src/compiler/ast-graph-builder.h" | 11 #include "src/compiler/ast-graph-builder.h" |
12 #include "src/compiler/ast-loop-assignment-analyzer.h" | 12 #include "src/compiler/ast-loop-assignment-analyzer.h" |
13 #include "src/compiler/common-operator.h" | 13 #include "src/compiler/common-operator.h" |
14 #include "src/compiler/graph-reducer.h" | 14 #include "src/compiler/graph-reducer.h" |
15 #include "src/compiler/js-operator.h" | 15 #include "src/compiler/js-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/type-hint-analyzer.h" | 19 #include "src/compiler/type-hint-analyzer.h" |
20 #include "src/isolate-inl.h" | 20 #include "src/isolate-inl.h" |
21 #include "src/parsing/parser.h" | 21 #include "src/parsing/parse-info.h" |
22 #include "src/parsing/rewriter.h" | 22 #include "src/parsing/rewriter.h" |
23 | 23 |
24 namespace v8 { | 24 namespace v8 { |
25 namespace internal { | 25 namespace internal { |
26 namespace compiler { | 26 namespace compiler { |
27 | 27 |
28 #define TRACE(...) \ | 28 #define TRACE(...) \ |
29 do { \ | 29 do { \ |
30 if (FLAG_trace_turbo_inlining) PrintF(__VA_ARGS__); \ | 30 if (FLAG_trace_turbo_inlining) PrintF(__VA_ARGS__); \ |
31 } while (false) | 31 } while (false) |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 | 520 |
521 JSOperatorBuilder* JSInliner::javascript() const { | 521 JSOperatorBuilder* JSInliner::javascript() const { |
522 return jsgraph()->javascript(); | 522 return jsgraph()->javascript(); |
523 } | 523 } |
524 | 524 |
525 CommonOperatorBuilder* JSInliner::common() const { return jsgraph()->common(); } | 525 CommonOperatorBuilder* JSInliner::common() const { return jsgraph()->common(); } |
526 | 526 |
527 } // namespace compiler | 527 } // namespace compiler |
528 } // namespace internal | 528 } // namespace internal |
529 } // namespace v8 | 529 } // namespace v8 |
OLD | NEW |