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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 2126233002: Devirtualize AstNode and subclasses, except for visiting-related methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove static assert again Created 4 years, 5 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/ast.cc ('k') | src/compiler/ast-graph-builder.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // Visit expressions. 409 // Visit expressions.
410 void Visit(Expression* expr); 410 void Visit(Expression* expr);
411 void VisitForTest(Expression* expr); 411 void VisitForTest(Expression* expr);
412 void VisitForEffect(Expression* expr); 412 void VisitForEffect(Expression* expr);
413 void VisitForValue(Expression* expr); 413 void VisitForValue(Expression* expr);
414 void VisitForValueOrNull(Expression* expr); 414 void VisitForValueOrNull(Expression* expr);
415 void VisitForValueOrTheHole(Expression* expr); 415 void VisitForValueOrTheHole(Expression* expr);
416 void VisitForValues(ZoneList<Expression*>* exprs); 416 void VisitForValues(ZoneList<Expression*>* exprs);
417 417
418 // Common for all IterationStatement bodies. 418 // Common for all IterationStatement bodies.
419 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); 419 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop,
420 BailoutId stack_check_id);
420 421
421 // Dispatched from VisitCall. 422 // Dispatched from VisitCall.
422 void VisitCallSuper(Call* expr); 423 void VisitCallSuper(Call* expr);
423 424
424 // Dispatched from VisitCallRuntime. 425 // Dispatched from VisitCallRuntime.
425 void VisitCallJSRuntime(CallRuntime* expr); 426 void VisitCallJSRuntime(CallRuntime* expr);
426 427
427 // Dispatched from VisitUnaryOperation. 428 // Dispatched from VisitUnaryOperation.
428 void VisitDelete(UnaryOperation* expr); 429 void VisitDelete(UnaryOperation* expr);
429 void VisitVoid(UnaryOperation* expr); 430 void VisitVoid(UnaryOperation* expr);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 604
604 // Prepare environment to be used as loop header. 605 // Prepare environment to be used as loop header.
605 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 606 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
606 }; 607 };
607 608
608 } // namespace compiler 609 } // namespace compiler
609 } // namespace internal 610 } // namespace internal
610 } // namespace v8 611 } // namespace v8
611 612
612 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 613 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/ast/ast.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698