Merge V8 5.3.332.45. DO NOT MERGE
Test: Manual
FPIIM-449
Change-Id: Id3254828b068abdea3cb10442e0172a8c9a98e03
(cherry picked from commit 13e2dadd00298019ed862f2b2fc5068bba730bcf)
diff --git a/src/compiler/type-hint-analyzer.h b/src/compiler/type-hint-analyzer.h
index 1a79905..bfb6232 100644
--- a/src/compiler/type-hint-analyzer.h
+++ b/src/compiler/type-hint-analyzer.h
@@ -18,14 +18,20 @@
public:
typedef ZoneMap<TypeFeedbackId, Handle<Code>> Infos;
- explicit TypeHintAnalysis(Infos const& infos) : infos_(infos) {}
+ explicit TypeHintAnalysis(Infos const& infos, Zone* zone)
+ : infos_(infos), zone_(zone) {}
bool GetBinaryOperationHints(TypeFeedbackId id,
BinaryOperationHints* hints) const;
+ bool GetCompareOperationHints(TypeFeedbackId id,
+ CompareOperationHints* hints) const;
bool GetToBooleanHints(TypeFeedbackId id, ToBooleanHints* hints) const;
private:
+ Zone* zone() const { return zone_; }
+
Infos const infos_;
+ Zone* zone_;
};