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

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

Issue 1398723002: [turbofan] Optimize stores to global properties. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Jaro's comment. Created 5 years, 2 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.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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 void VisitNot(UnaryOperation* expr); 395 void VisitNot(UnaryOperation* expr);
396 396
397 // Dispatched from VisitBinaryOperation. 397 // Dispatched from VisitBinaryOperation.
398 void VisitComma(BinaryOperation* expr); 398 void VisitComma(BinaryOperation* expr);
399 void VisitLogicalExpression(BinaryOperation* expr); 399 void VisitLogicalExpression(BinaryOperation* expr);
400 void VisitArithmeticExpression(BinaryOperation* expr); 400 void VisitArithmeticExpression(BinaryOperation* expr);
401 401
402 // Dispatched from VisitForInStatement. 402 // Dispatched from VisitForInStatement.
403 void VisitForInAssignment(Expression* expr, Node* value, 403 void VisitForInAssignment(Expression* expr, Node* value,
404 const VectorSlotPair& feedback, 404 const VectorSlotPair& feedback,
405 BailoutId bailout_id); 405 BailoutId bailout_id_before,
406 BailoutId bailout_id_after);
406 407
407 // Dispatched from VisitObjectLiteral. 408 // Dispatched from VisitObjectLiteral.
408 void VisitObjectLiteralAccessor(Node* home_object, 409 void VisitObjectLiteralAccessor(Node* home_object,
409 ObjectLiteralProperty* property); 410 ObjectLiteralProperty* property);
410 411
411 // Dispatched from VisitClassLiteral. 412 // Dispatched from VisitClassLiteral.
412 void VisitClassLiteralContents(ClassLiteral* expr); 413 void VisitClassLiteralContents(ClassLiteral* expr);
413 414
414 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 415 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
415 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); 416 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 558
558 // Prepare environment to be used as loop header. 559 // Prepare environment to be used as loop header.
559 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 560 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
560 }; 561 };
561 562
562 } // namespace compiler 563 } // namespace compiler
563 } // namespace internal 564 } // namespace internal
564 } // namespace v8 565 } // namespace v8
565 566
566 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 567 #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