OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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.h" | 5 #include "src/compiler.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "src/ast-numbering.h" | 9 #include "src/ast-numbering.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
11 #include "src/codegen.h" | 11 #include "src/codegen.h" |
12 #include "src/compilation-cache.h" | 12 #include "src/compilation-cache.h" |
13 #include "src/compiler/pipeline.h" | 13 #include "src/compiler/pipeline.h" |
14 #include "src/cpu-profiler.h" | |
15 #include "src/debug/debug.h" | 14 #include "src/debug/debug.h" |
16 #include "src/debug/liveedit.h" | 15 #include "src/debug/liveedit.h" |
17 #include "src/deoptimizer.h" | 16 #include "src/deoptimizer.h" |
18 #include "src/full-codegen/full-codegen.h" | 17 #include "src/full-codegen/full-codegen.h" |
19 #include "src/gdb-jit.h" | 18 #include "src/gdb-jit.h" |
20 #include "src/hydrogen.h" | 19 #include "src/hydrogen.h" |
21 #include "src/interpreter/interpreter.h" | 20 #include "src/interpreter/interpreter.h" |
22 #include "src/isolate-inl.h" | 21 #include "src/isolate-inl.h" |
23 #include "src/lithium.h" | 22 #include "src/lithium.h" |
24 #include "src/log-inl.h" | 23 #include "src/log-inl.h" |
25 #include "src/messages.h" | 24 #include "src/messages.h" |
26 #include "src/parser.h" | 25 #include "src/parser.h" |
27 #include "src/prettyprinter.h" | 26 #include "src/prettyprinter.h" |
| 27 #include "src/profiler/cpu-profiler.h" |
28 #include "src/rewriter.h" | 28 #include "src/rewriter.h" |
29 #include "src/runtime-profiler.h" | 29 #include "src/runtime-profiler.h" |
30 #include "src/scanner-character-streams.h" | 30 #include "src/scanner-character-streams.h" |
31 #include "src/scopeinfo.h" | 31 #include "src/scopeinfo.h" |
32 #include "src/scopes.h" | 32 #include "src/scopes.h" |
33 #include "src/snapshot/serialize.h" | 33 #include "src/snapshot/serialize.h" |
34 #include "src/typing.h" | 34 #include "src/typing.h" |
35 #include "src/vm-state-inl.h" | 35 #include "src/vm-state-inl.h" |
36 | 36 |
37 namespace v8 { | 37 namespace v8 { |
(...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 } | 1761 } |
1762 | 1762 |
1763 #if DEBUG | 1763 #if DEBUG |
1764 void CompilationInfo::PrintAstForTesting() { | 1764 void CompilationInfo::PrintAstForTesting() { |
1765 PrintF("--- Source from AST ---\n%s\n", | 1765 PrintF("--- Source from AST ---\n%s\n", |
1766 PrettyPrinter(isolate(), zone()).PrintProgram(literal())); | 1766 PrettyPrinter(isolate(), zone()).PrintProgram(literal())); |
1767 } | 1767 } |
1768 #endif | 1768 #endif |
1769 } // namespace internal | 1769 } // namespace internal |
1770 } // namespace v8 | 1770 } // namespace v8 |
OLD | NEW |