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

Unified Diff: src/ast/ast.h

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ast/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 7983feb0f5a32d1a7e1bd0a49d23a8a4ec39d7f4..d48c5afce067ba241eb87650412550e08fdab5f4 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -2440,6 +2440,10 @@ class Assignment final : public Expression {
FeedbackSlotCache* cache);
FeedbackSlot AssignmentSlot() const { return slot_; }
+ FeedbackSlot CollectTypeProfileSlot() const {
+ return collect_type_profile_slot_;
+ }
+
private:
friend class AstNodeFactory;
@@ -2457,6 +2461,7 @@ class Assignment final : public Expression {
class TokenField : public BitField<Token::Value, StoreModeField::kNext, 7> {};
FeedbackSlot slot_;
+ FeedbackSlot collect_type_profile_slot_;
Expression* target_;
Expression* value_;
BinaryOperation* binary_operation_;
« no previous file with comments | « no previous file | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698