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

Unified Diff: src/ast/ast.h

Issue 2747383004: Revert of Collect type profile for DevTools. (Closed)
Patch Set: Created 3 years, 9 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 95bc3c02c4ccdacd8c8a8f7a4d67a899f37a00bb..c3790b34b377fe448289a171d066207cdb8e998e 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -2414,16 +2414,8 @@
}
void AssignFeedbackSlots(FeedbackVectorSpec* spec, LanguageMode language_mode,
- FeedbackSlotCache* cache,
- bool collect_type_profile = false);
+ FeedbackSlotCache* cache);
FeedbackSlot AssignmentSlot() const { return slot_; }
-
- FeedbackSlot TypeProfileSlot() const {
- DCHECK(HasTypeProfileSlot());
- return type_profile_slot_;
- }
-
- bool HasTypeProfileSlot() const { return !type_profile_slot_.IsInvalid(); }
private:
friend class AstNodeFactory;
@@ -2446,8 +2438,6 @@
Expression* value_;
BinaryOperation* binary_operation_;
SmallMapList receiver_types_;
-
- FeedbackSlot type_profile_slot_;
};
« 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