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

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

Issue 2276923002: Remove the rest_parameter(int*) variant, use rest_parameter() instead. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 4 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/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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Builders to create local function, script and block contexts. 272 // Builders to create local function, script and block contexts.
273 Node* BuildLocalActivationContext(Node* context); 273 Node* BuildLocalActivationContext(Node* context);
274 Node* BuildLocalFunctionContext(Scope* scope); 274 Node* BuildLocalFunctionContext(Scope* scope);
275 Node* BuildLocalScriptContext(Scope* scope); 275 Node* BuildLocalScriptContext(Scope* scope);
276 Node* BuildLocalBlockContext(Scope* scope); 276 Node* BuildLocalBlockContext(Scope* scope);
277 277
278 // Builder to create an arguments object if it is used. 278 // Builder to create an arguments object if it is used.
279 Node* BuildArgumentsObject(Variable* arguments); 279 Node* BuildArgumentsObject(Variable* arguments);
280 280
281 // Builder to create an array of rest parameters if used 281 // Builder to create an array of rest parameters if used.
282 Node* BuildRestArgumentsArray(Variable* rest, int index); 282 Node* BuildRestArgumentsArray(Variable* rest);
283 283
284 // Builder that assigns to the {.this_function} internal variable if needed. 284 // Builder that assigns to the {.this_function} internal variable if needed.
285 Node* BuildThisFunctionVariable(Variable* this_function_var); 285 Node* BuildThisFunctionVariable(Variable* this_function_var);
286 286
287 // Builder that assigns to the {new.target} internal variable if needed. 287 // Builder that assigns to the {new.target} internal variable if needed.
288 Node* BuildNewTargetVariable(Variable* new_target_var); 288 Node* BuildNewTargetVariable(Variable* new_target_var);
289 289
290 // Builders for variable load and assignment. 290 // Builders for variable load and assignment.
291 Node* BuildVariableAssignment(Variable* variable, Node* value, 291 Node* BuildVariableAssignment(Variable* variable, Node* value,
292 Token::Value op, const VectorSlotPair& slot, 292 Token::Value op, const VectorSlotPair& slot,
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 // Prepare environment to be used as loop header. 606 // Prepare environment to be used as loop header.
607 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 607 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
608 }; 608 };
609 609
610 } // namespace compiler 610 } // namespace compiler
611 } // namespace internal 611 } // namespace internal
612 } // namespace v8 612 } // namespace v8
613 613
614 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 614 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698