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.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/isolate-inl.h" | |
21 #include "src/lithium.h" | 20 #include "src/lithium.h" |
22 #include "src/liveedit.h" | 21 #include "src/liveedit.h" |
23 #include "src/messages.h" | 22 #include "src/messages.h" |
24 #include "src/parser.h" | 23 #include "src/parser.h" |
25 #include "src/prettyprinter.h" | 24 #include "src/prettyprinter.h" |
26 #include "src/rewriter.h" | 25 #include "src/rewriter.h" |
27 #include "src/runtime-profiler.h" | 26 #include "src/runtime-profiler.h" |
28 #include "src/scanner-character-streams.h" | 27 #include "src/scanner-character-streams.h" |
29 #include "src/scopeinfo.h" | 28 #include "src/scopeinfo.h" |
30 #include "src/scopes.h" | 29 #include "src/scopes.h" |
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 } | 1539 } |
1541 | 1540 |
1542 | 1541 |
1543 #if DEBUG | 1542 #if DEBUG |
1544 void CompilationInfo::PrintAstForTesting() { | 1543 void CompilationInfo::PrintAstForTesting() { |
1545 PrintF("--- Source from AST ---\n%s\n", | 1544 PrintF("--- Source from AST ---\n%s\n", |
1546 PrettyPrinter(isolate(), zone()).PrintProgram(function())); | 1545 PrettyPrinter(isolate(), zone()).PrintProgram(function())); |
1547 } | 1546 } |
1548 #endif | 1547 #endif |
1549 } } // namespace v8::internal | 1548 } } // namespace v8::internal |
OLD | NEW |