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

Side by Side Diff: src/compiler.cc

Issue 1751863002: [serializer] split up src/snapshot/serialize.* (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 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
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/ast-numbering.h" 9 #include "src/ast/ast-numbering.h"
10 #include "src/ast/prettyprinter.h" 10 #include "src/ast/prettyprinter.h"
(...skipping 13 matching lines...) Expand all
24 #include "src/gdb-jit.h" 24 #include "src/gdb-jit.h"
25 #include "src/interpreter/interpreter.h" 25 #include "src/interpreter/interpreter.h"
26 #include "src/isolate-inl.h" 26 #include "src/isolate-inl.h"
27 #include "src/log-inl.h" 27 #include "src/log-inl.h"
28 #include "src/messages.h" 28 #include "src/messages.h"
29 #include "src/parsing/parser.h" 29 #include "src/parsing/parser.h"
30 #include "src/parsing/rewriter.h" 30 #include "src/parsing/rewriter.h"
31 #include "src/parsing/scanner-character-streams.h" 31 #include "src/parsing/scanner-character-streams.h"
32 #include "src/profiler/cpu-profiler.h" 32 #include "src/profiler/cpu-profiler.h"
33 #include "src/runtime-profiler.h" 33 #include "src/runtime-profiler.h"
34 #include "src/snapshot/serialize.h" 34 #include "src/snapshot/code-serializer.h"
35 #include "src/vm-state-inl.h" 35 #include "src/vm-state-inl.h"
36 36
37 namespace v8 { 37 namespace v8 {
38 namespace internal { 38 namespace internal {
39 39
40 40
41 #define PARSE_INFO_GETTER(type, name) \ 41 #define PARSE_INFO_GETTER(type, name) \
42 type CompilationInfo::name() const { \ 42 type CompilationInfo::name() const { \
43 CHECK(parse_info()); \ 43 CHECK(parse_info()); \
44 return parse_info()->name(); \ 44 return parse_info()->name(); \
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 } 1887 }
1888 1888
1889 #if DEBUG 1889 #if DEBUG
1890 void CompilationInfo::PrintAstForTesting() { 1890 void CompilationInfo::PrintAstForTesting() {
1891 PrintF("--- Source from AST ---\n%s\n", 1891 PrintF("--- Source from AST ---\n%s\n",
1892 PrettyPrinter(isolate()).PrintProgram(literal())); 1892 PrettyPrinter(isolate()).PrintProgram(literal()));
1893 } 1893 }
1894 #endif 1894 #endif
1895 } // namespace internal 1895 } // namespace internal
1896 } // namespace v8 1896 } // namespace v8
OLDNEW
« no previous file with comments | « src/collector.h ('k') | src/disassembler.cc » ('j') | src/snapshot/deserializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698