Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index 60f156f5f3da7dc980c28c7fd8dad3c4b6212c15..e9653d5833129c24065cbb03774bc4b879f49092 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -19,9 +19,9 @@ class SmallMapList; |
class TypeFeedbackOracle: public ZoneObject { |
public: |
- TypeFeedbackOracle(Handle<Code> code, |
+ TypeFeedbackOracle(Isolate* isolate, Zone* zone, Handle<Code> code, |
Handle<TypeFeedbackVector> feedback_vector, |
- Handle<Context> native_context, Zone* zone); |
+ Handle<Context> native_context); |
bool LoadIsUninitialized(TypeFeedbackId id); |
bool LoadIsUninitialized(FeedbackVectorICSlot slot); |
@@ -101,7 +101,7 @@ class TypeFeedbackOracle: public ZoneObject { |
Type* CountType(TypeFeedbackId id); |
Zone* zone() const { return zone_; } |
- Isolate* isolate() const { return zone_->isolate(); } |
+ Isolate* isolate() const { return isolate_; } |
private: |
void CollectReceiverTypes(TypeFeedbackId id, |
@@ -137,6 +137,7 @@ class TypeFeedbackOracle: public ZoneObject { |
private: |
Handle<Context> native_context_; |
+ Isolate* isolate_; |
Zone* zone_; |
Handle<UnseededNumberDictionary> dictionary_; |
Handle<TypeFeedbackVector> feedback_vector_; |