Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: src/compiler.cc

Issue 1041743002: Serializer: move to a subfolder and clean up includes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removed OWNERS Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compilation-cache.cc ('k') | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 10 matching lines...) Expand all
21 #include "src/lithium.h" 21 #include "src/lithium.h"
22 #include "src/liveedit.h" 22 #include "src/liveedit.h"
23 #include "src/messages.h" 23 #include "src/messages.h"
24 #include "src/parser.h" 24 #include "src/parser.h"
25 #include "src/prettyprinter.h" 25 #include "src/prettyprinter.h"
26 #include "src/rewriter.h" 26 #include "src/rewriter.h"
27 #include "src/runtime-profiler.h" 27 #include "src/runtime-profiler.h"
28 #include "src/scanner-character-streams.h" 28 #include "src/scanner-character-streams.h"
29 #include "src/scopeinfo.h" 29 #include "src/scopeinfo.h"
30 #include "src/scopes.h" 30 #include "src/scopes.h"
31 #include "src/snapshot/serialize.h"
31 #include "src/typing.h" 32 #include "src/typing.h"
32 #include "src/vm-state-inl.h" 33 #include "src/vm-state-inl.h"
33 34
34 namespace v8 { 35 namespace v8 {
35 namespace internal { 36 namespace internal {
36 37
37 std::ostream& operator<<(std::ostream& os, const SourcePosition& p) { 38 std::ostream& operator<<(std::ostream& os, const SourcePosition& p) {
38 if (p.IsUnknown()) { 39 if (p.IsUnknown()) {
39 return os << "<?>"; 40 return os << "<?>";
40 } else if (FLAG_hydrogen_track_positions) { 41 } else if (FLAG_hydrogen_track_positions) {
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1577 } 1578 }
1578 1579
1579 1580
1580 #if DEBUG 1581 #if DEBUG
1581 void CompilationInfo::PrintAstForTesting() { 1582 void CompilationInfo::PrintAstForTesting() {
1582 PrintF("--- Source from AST ---\n%s\n", 1583 PrintF("--- Source from AST ---\n%s\n",
1583 PrettyPrinter(isolate(), zone()).PrintProgram(function())); 1584 PrettyPrinter(isolate(), zone()).PrintProgram(function()));
1584 } 1585 }
1585 #endif 1586 #endif
1586 } } // namespace v8::internal 1587 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/compilation-cache.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698