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

Side by Side Diff: src/parsing/rewriter.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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/parsing/preparse-data.cc ('k') | src/property.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/parsing/rewriter.h" 5 #include "src/parsing/rewriter.h"
6 6
7 #include "src/ast/ast.h" 7 #include "src/ast/ast.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/objects-inl.h"
9 #include "src/parsing/parse-info.h" 10 #include "src/parsing/parse-info.h"
10 #include "src/parsing/parser.h" 11 #include "src/parsing/parser.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 15
15 class Processor final : public AstVisitor<Processor> { 16 class Processor final : public AstVisitor<Processor> {
16 public: 17 public:
17 Processor(Isolate* isolate, DeclarationScope* closure_scope, Variable* result, 18 Processor(Isolate* isolate, DeclarationScope* closure_scope, Variable* result,
18 AstValueFactory* ast_value_factory) 19 AstValueFactory* ast_value_factory)
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 processor.SetResult(undef), expr->position()); 411 processor.SetResult(undef), expr->position());
411 body->Add(completion, factory->zone()); 412 body->Add(completion, factory->zone());
412 } 413 }
413 } 414 }
414 return true; 415 return true;
415 } 416 }
416 417
417 418
418 } // namespace internal 419 } // namespace internal
419 } // namespace v8 420 } // namespace v8
OLDNEW
« no previous file with comments | « src/parsing/preparse-data.cc ('k') | src/property.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698