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

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

Issue 1152063003: Remove unnecessary TypeFeedbackIds, saves memory and simplifies TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase. Created 5 years, 7 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.h ('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.h" 8 #include "src/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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore()); 261 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore());
262 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id, 262 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id,
263 OutputFrameStateCombine combine); 263 OutputFrameStateCombine combine);
264 Node* BuildVariableLoad(FrameStateBeforeAndAfter& states, Variable* var, 264 Node* BuildVariableLoad(FrameStateBeforeAndAfter& states, Variable* var,
265 BailoutId bailout_id, const VectorSlotPair& feedback, 265 BailoutId bailout_id, const VectorSlotPair& feedback,
266 OutputFrameStateCombine combine, 266 OutputFrameStateCombine combine,
267 ContextualMode mode = CONTEXTUAL); 267 ContextualMode mode = CONTEXTUAL);
268 268
269 // Builders for property loads and stores. 269 // Builders for property loads and stores.
270 Node* BuildKeyedLoad(Node* receiver, Node* key, 270 Node* BuildKeyedLoad(Node* receiver, Node* key,
271 const VectorSlotPair& feedback, TypeFeedbackId id); 271 const VectorSlotPair& feedback);
272 Node* BuildNamedLoad(Node* receiver, Handle<Name> name, 272 Node* BuildNamedLoad(Node* receiver, Handle<Name> name,
273 const VectorSlotPair& feedback, TypeFeedbackId id, 273 const VectorSlotPair& feedback,
274 ContextualMode mode = NOT_CONTEXTUAL); 274 ContextualMode mode = NOT_CONTEXTUAL);
275 Node* BuildKeyedStore(Node* receiver, Node* key, Node* value, 275 Node* BuildKeyedStore(Node* receiver, Node* key, Node* value,
276 TypeFeedbackId id); 276 TypeFeedbackId id);
277 Node* BuildNamedStore(Node* receiver, Handle<Name>, Node* value, 277 Node* BuildNamedStore(Node* receiver, Handle<Name>, Node* value,
278 TypeFeedbackId id); 278 TypeFeedbackId id);
279 279
280 // Builders for accessing the function context. 280 // Builders for accessing the function context.
281 Node* BuildLoadBuiltinsObject(); 281 Node* BuildLoadBuiltinsObject();
282 Node* BuildLoadGlobalObject(); 282 Node* BuildLoadGlobalObject();
283 Node* BuildLoadGlobalProxy(); 283 Node* BuildLoadGlobalProxy();
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 507
508 // Prepare environment to be used as loop header. 508 // Prepare environment to be used as loop header.
509 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 509 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
510 }; 510 };
511 511
512 } // namespace compiler 512 } // namespace compiler
513 } // namespace internal 513 } // namespace internal
514 } // namespace v8 514 } // namespace v8
515 515
516 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 516 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698