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

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 2441543005: [full-codegen] Eliminate unnecessary hole checks for stores (Closed)
Patch Set: Merge and fix modules Created 4 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
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 Expression* right); 565 Expression* right);
566 566
567 // Assign to the given expression as if via '='. The right-hand-side value 567 // Assign to the given expression as if via '='. The right-hand-side value
568 // is expected in the accumulator. slot is only used if FLAG_vector_stores 568 // is expected in the accumulator. slot is only used if FLAG_vector_stores
569 // is true. 569 // is true.
570 void EmitAssignment(Expression* expr, FeedbackVectorSlot slot); 570 void EmitAssignment(Expression* expr, FeedbackVectorSlot slot);
571 571
572 // Complete a variable assignment. The right-hand-side value is expected 572 // Complete a variable assignment. The right-hand-side value is expected
573 // in the accumulator. 573 // in the accumulator.
574 void EmitVariableAssignment(Variable* var, Token::Value op, 574 void EmitVariableAssignment(Variable* var, Token::Value op,
575 FeedbackVectorSlot slot); 575 FeedbackVectorSlot slot,
576 HoleCheckMode hole_check_mode);
576 577
577 // Helper functions to EmitVariableAssignment 578 // Helper functions to EmitVariableAssignment
578 void EmitStoreToStackLocalOrContextSlot(Variable* var, 579 void EmitStoreToStackLocalOrContextSlot(Variable* var,
579 MemOperand location); 580 MemOperand location);
580 581
581 // Complete a named property assignment. The receiver is expected on top 582 // Complete a named property assignment. The receiver is expected on top
582 // of the stack and the right-hand-side value in the accumulator. 583 // of the stack and the right-hand-side value in the accumulator.
583 void EmitNamedPropertyAssignment(Assignment* expr); 584 void EmitNamedPropertyAssignment(Assignment* expr);
584 585
585 // Complete a super named property assignment. The right-hand-side value 586 // Complete a super named property assignment. The right-hand-side value
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 Address start_; 1021 Address start_;
1021 Address instruction_start_; 1022 Address instruction_start_;
1022 uint32_t length_; 1023 uint32_t length_;
1023 }; 1024 };
1024 1025
1025 1026
1026 } // namespace internal 1027 } // namespace internal
1027 } // namespace v8 1028 } // namespace v8
1028 1029
1029 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1030 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698