Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index 15a0b81aa6a0f6211166cc1c006b0c45d35fbd7d..53a83be6595d2ef3d9ea42dbc1c4842cb0c608f4 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -283,7 +283,7 @@ class TypeFeedbackOracle: public ZoneObject { |
CheckType GetCallCheckType(Call* expr); |
Handle<JSFunction> GetCallTarget(Call* expr); |
Handle<JSFunction> GetCallNewTarget(CallNew* expr); |
- ElementsKind GetCallNewElementsKind(CallNew* expr); |
+ Handle<JSGlobalPropertyCell> GetCallNewAllocationInfoCell(CallNew* expr); |
Handle<Map> GetObjectLiteralStoreMap(ObjectLiteralProperty* prop); |
@@ -338,11 +338,11 @@ class TypeFeedbackOracle: public ZoneObject { |
// Returns an element from the backing store. Returns undefined if |
// there is no information. |
- public: |
- // TODO(mvstanton): how to get this information without making the method |
- // public? |
Handle<Object> GetInfo(TypeFeedbackId ast_id); |
+ // Return the cell that contains type feedback. |
+ Handle<JSGlobalPropertyCell> GetInfoCell(TypeFeedbackId ast_id); |
+ |
private: |
Handle<Context> native_context_; |
Isolate* isolate_; |