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

Side by Side Diff: src/full-codegen/full-codegen.cc

Issue 2107163002: Reland of [turbofan] Implicitly emit eager checkpoint at graph building. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-checkpoint-graph-builder-4
Patch Set: 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/compiler/checkpoint-elimination.cc ('k') | no next file » | 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/full-codegen/full-codegen.h" 5 #include "src/full-codegen/full-codegen.h"
6 6
7 #include "src/ast/ast-numbering.h" 7 #include "src/ast/ast-numbering.h"
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/prettyprinter.h" 9 #include "src/ast/prettyprinter.h"
10 #include "src/ast/scopeinfo.h" 10 #include "src/ast/scopeinfo.h"
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 VisitStatements(stmt->statements()); 884 VisitStatements(stmt->statements());
885 __ bind(nested_block.break_label()); 885 __ bind(nested_block.break_label());
886 } 886 }
887 } 887 }
888 888
889 889
890 void FullCodeGenerator::VisitDoExpression(DoExpression* expr) { 890 void FullCodeGenerator::VisitDoExpression(DoExpression* expr) {
891 Comment cmnt(masm_, "[ Do Expression"); 891 Comment cmnt(masm_, "[ Do Expression");
892 SetExpressionPosition(expr); 892 SetExpressionPosition(expr);
893 VisitBlock(expr->block()); 893 VisitBlock(expr->block());
894 EmitVariableLoad(expr->result()); 894 VisitInDuplicateContext(expr->result());
895 } 895 }
896 896
897 897
898 void FullCodeGenerator::VisitExpressionStatement(ExpressionStatement* stmt) { 898 void FullCodeGenerator::VisitExpressionStatement(ExpressionStatement* stmt) {
899 Comment cmnt(masm_, "[ ExpressionStatement"); 899 Comment cmnt(masm_, "[ ExpressionStatement");
900 SetStatementPosition(stmt); 900 SetStatementPosition(stmt);
901 VisitForEffect(stmt->expression()); 901 VisitForEffect(stmt->expression());
902 } 902 }
903 903
904 904
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 return var->scope()->is_nonlinear() || 1986 return var->scope()->is_nonlinear() ||
1987 var->initializer_position() >= proxy->position(); 1987 var->initializer_position() >= proxy->position();
1988 } 1988 }
1989 1989
1990 1990
1991 #undef __ 1991 #undef __
1992 1992
1993 1993
1994 } // namespace internal 1994 } // namespace internal
1995 } // namespace v8 1995 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/checkpoint-elimination.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698