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" | 14 #include "src/cpu-profiler.h" |
15 #include "src/debug.h" | 15 #include "src/debug.h" |
16 #include "src/deoptimizer.h" | 16 #include "src/deoptimizer.h" |
17 #include "src/full-codegen.h" | 17 #include "src/full-codegen/full-codegen.h" |
18 #include "src/gdb-jit.h" | 18 #include "src/gdb-jit.h" |
19 #include "src/hydrogen.h" | 19 #include "src/hydrogen.h" |
20 #include "src/lithium.h" | 20 #include "src/lithium.h" |
21 #include "src/liveedit.h" | 21 #include "src/liveedit.h" |
22 #include "src/messages.h" | 22 #include "src/messages.h" |
23 #include "src/parser.h" | 23 #include "src/parser.h" |
24 #include "src/prettyprinter.h" | 24 #include "src/prettyprinter.h" |
25 #include "src/rewriter.h" | 25 #include "src/rewriter.h" |
26 #include "src/runtime-profiler.h" | 26 #include "src/runtime-profiler.h" |
27 #include "src/scanner-character-streams.h" | 27 #include "src/scanner-character-streams.h" |
(...skipping 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 | 1625 |
1626 | 1626 |
1627 #if DEBUG | 1627 #if DEBUG |
1628 void CompilationInfo::PrintAstForTesting() { | 1628 void CompilationInfo::PrintAstForTesting() { |
1629 PrintF("--- Source from AST ---\n%s\n", | 1629 PrintF("--- Source from AST ---\n%s\n", |
1630 PrettyPrinter(isolate(), zone()).PrintProgram(function())); | 1630 PrettyPrinter(isolate(), zone()).PrintProgram(function())); |
1631 } | 1631 } |
1632 #endif | 1632 #endif |
1633 } // namespace internal | 1633 } // namespace internal |
1634 } // namespace v8 | 1634 } // namespace v8 |
OLD | NEW |