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

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

Issue 2662263002: [turbo] Rename CallConstruct* operators to Construct*. (Closed)
Patch Set: Created 3 years, 10 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 | « 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/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compiler/compiler-source-position-table.h" 9 #include "src/compiler/compiler-source-position-table.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 // Computes local variable liveness and replaces dead variables in 242 // Computes local variable liveness and replaces dead variables in
243 // frame states with the undefined values. 243 // frame states with the undefined values.
244 void ClearNonLiveSlotsInFrameStates(); 244 void ClearNonLiveSlotsInFrameStates();
245 245
246 Node** EnsureInputBufferSize(int size); 246 Node** EnsureInputBufferSize(int size);
247 247
248 // Named and keyed loads require a VectorSlotPair for successful lowering. 248 // Named and keyed loads require a VectorSlotPair for successful lowering.
249 VectorSlotPair CreateVectorSlotPair(FeedbackVectorSlot slot) const; 249 VectorSlotPair CreateVectorSlotPair(FeedbackVectorSlot slot) const;
250 250
251 // Computes the frequency for JSCallFunction and JSCallConstruct nodes. 251 // Computes the frequency for JSCallFunction and JSConstruct nodes.
252 float ComputeCallFrequency(FeedbackVectorSlot slot) const; 252 float ComputeCallFrequency(FeedbackVectorSlot slot) const;
253 253
254 // =========================================================================== 254 // ===========================================================================
255 // The following build methods all generate graph fragments and return one 255 // The following build methods all generate graph fragments and return one
256 // resulting node. The operand stack height remains the same, variables and 256 // resulting node. The operand stack height remains the same, variables and
257 // other dependencies tracked by the environment might be mutated though. 257 // other dependencies tracked by the environment might be mutated though.
258 258
259 // Builders to create local function, script and block contexts. 259 // Builders to create local function, script and block contexts.
260 Node* BuildLocalActivationContext(Node* context); 260 Node* BuildLocalActivationContext(Node* context);
261 Node* BuildLocalFunctionContext(Scope* scope); 261 Node* BuildLocalFunctionContext(Scope* scope);
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 private: 585 private:
586 SourcePositionTable* const source_positions_; 586 SourcePositionTable* const source_positions_;
587 SourcePosition const start_position_; 587 SourcePosition const start_position_;
588 }; 588 };
589 589
590 } // namespace compiler 590 } // namespace compiler
591 } // namespace internal 591 } // namespace internal
592 } // namespace v8 592 } // namespace v8
593 593
594 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 594 #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