Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index d461331bec0fc3443eec771def8480da51a65c24..74910cd1a7c817565c953775607269e1197a9a57 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -236,7 +236,8 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
public: |
TypeFeedbackOracle(Handle<Code> code, |
Handle<Context> global_context, |
- Isolate* isolate); |
+ Isolate* isolate, |
+ Zone* zone); |
bool LoadIsMonomorphicNormal(Property* expr); |
bool LoadIsUninitialized(Property* expr); |
@@ -293,6 +294,8 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
TypeInfo SwitchType(CaseClause* clause); |
TypeInfo IncrementType(CountOperation* expr); |
+ Zone* zone() const { return zone_; } |
+ |
private: |
void CollectReceiverTypes(unsigned ast_id, |
Handle<String> name, |
@@ -317,6 +320,7 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
Handle<Context> global_context_; |
Isolate* isolate_; |
Handle<UnseededNumberDictionary> dictionary_; |
+ Zone* zone_; |
DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
}; |