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

Unified Diff: src/type-info.h

Issue 2361043002: [Ignition] Use binary operation feedback from Ignition to Crankshaft. (Closed)
Patch Set: Created 4 years, 3 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
Index: src/type-info.h
diff --git a/src/type-info.h b/src/type-info.h
index 6c402890c7f5cbd8ed8377e0e9b48d0cee039f9a..d9326fdf9d2a63b891bf2783b3d670a78b023d7e 100644
--- a/src/type-info.h
+++ b/src/type-info.h
@@ -77,15 +77,17 @@ class TypeFeedbackOracle: public ZoneObject {
uint16_t ToBooleanTypes(TypeFeedbackId id);
// Get type information for arithmetic operations and compares.
- void BinaryType(TypeFeedbackId id, AstType** left, AstType** right,
- AstType** result, Maybe<int>* fixed_right_arg,
+ void BinaryType(TypeFeedbackId id, FeedbackVectorSlot slot, AstType** left,
+ AstType** right, AstType** result,
+ Maybe<int>* fixed_right_arg,
Handle<AllocationSite>* allocation_site,
- Token::Value operation);
+ Token::Value operation, bool ignition_feedback);
- void CompareType(TypeFeedbackId id, AstType** left, AstType** right,
- AstType** combined);
+ void CompareType(TypeFeedbackId id, FeedbackVectorSlot slot, AstType** left,
+ AstType** right, AstType** combined, bool ignition_feedback);
- AstType* CountType(TypeFeedbackId id);
+ AstType* CountType(TypeFeedbackId id, FeedbackVectorSlot slot,
+ bool ignition_feedback);
Zone* zone() const { return zone_; }
Isolate* isolate() const { return isolate_; }

Powered by Google App Engine
This is Rietveld 408576698