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

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

Issue 701853002: [turbofan] Fix deopt for assignments in non-effect context. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // 73 //
74 74
75 // Builder to create a local function context. 75 // Builder to create a local function context.
76 Node* BuildLocalFunctionContext(Node* context, Node* closure); 76 Node* BuildLocalFunctionContext(Node* context, Node* closure);
77 77
78 // Builder to create an arguments object if it is used. 78 // Builder to create an arguments object if it is used.
79 Node* BuildArgumentsObject(Variable* arguments); 79 Node* BuildArgumentsObject(Variable* arguments);
80 80
81 // Builders for variable load and assignment. 81 // Builders for variable load and assignment.
82 Node* BuildVariableAssignment(Variable* var, Node* value, Token::Value op, 82 Node* BuildVariableAssignment(Variable* var, Node* value, Token::Value op,
83 BailoutId bailout_id); 83 BailoutId bailout_id,
84 OutputFrameStateCombine state_combine =
85 OutputFrameStateCombine::Ignore());
84 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id, 86 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id,
85 OutputFrameStateCombine state_combine); 87 OutputFrameStateCombine state_combine);
86 Node* BuildVariableLoad(Variable* var, BailoutId bailout_id, 88 Node* BuildVariableLoad(Variable* var, BailoutId bailout_id,
87 const VectorSlotPair& feedback, 89 const VectorSlotPair& feedback,
88 ContextualMode mode = CONTEXTUAL); 90 ContextualMode mode = CONTEXTUAL);
89 91
90 // Builders for accessing the function context. 92 // Builders for accessing the function context.
91 Node* BuildLoadBuiltinsObject(); 93 Node* BuildLoadBuiltinsObject();
92 Node* BuildLoadGlobalObject(); 94 Node* BuildLoadGlobalObject();
93 Node* BuildLoadClosure(); 95 Node* BuildLoadClosure();
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 440
439 Scope* AstGraphBuilder::current_scope() const { 441 Scope* AstGraphBuilder::current_scope() const {
440 return execution_context_->scope(); 442 return execution_context_->scope();
441 } 443 }
442 444
443 } // namespace compiler 445 } // namespace compiler
444 } // namespace internal 446 } // namespace internal
445 } // namespace v8 447 } // namespace v8
446 448
447 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 449 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698