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

Side by Side Diff: src/compilation-info.cc

Issue 2312683002: Include only stuff you need, part 7: Fix scopes.h -> ast.h. (Closed)
Patch Set: Created 4 years, 3 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/ast/scopes.cc ('k') | src/crankshaft/typing.h » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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/compilation-info.h" 5 #include "src/compilation-info.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/ast/ast.h"
8 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
9 #include "src/isolate.h" 10 #include "src/isolate.h"
10 #include "src/parsing/parse-info.h" 11 #include "src/parsing/parse-info.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 15
15 #define PARSE_INFO_GETTER(type, name) \ 16 #define PARSE_INFO_GETTER(type, name) \
16 type CompilationInfo::name() const { \ 17 type CompilationInfo::name() const { \
17 CHECK(parse_info()); \ 18 CHECK(parse_info()); \
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 inlined_functions_.push_back(InlinedFunctionHolder( 204 inlined_functions_.push_back(InlinedFunctionHolder(
204 inlined_function, handle(inlined_function->code()))); 205 inlined_function, handle(inlined_function->code())));
205 } 206 }
206 207
207 Code::Kind CompilationInfo::output_code_kind() const { 208 Code::Kind CompilationInfo::output_code_kind() const {
208 return Code::ExtractKindFromFlags(code_flags_); 209 return Code::ExtractKindFromFlags(code_flags_);
209 } 210 }
210 211
211 } // namespace internal 212 } // namespace internal
212 } // namespace v8 213 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/crankshaft/typing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698