diff options
Diffstat (limited to 'deps/v8/src/ic/ic-state.h')
-rw-r--r-- | deps/v8/src/ic/ic-state.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/deps/v8/src/ic/ic-state.h b/deps/v8/src/ic/ic-state.h index b84bdb9a70..9bb877a383 100644 --- a/deps/v8/src/ic/ic-state.h +++ b/deps/v8/src/ic/ic-state.h @@ -19,6 +19,10 @@ class ICUtility : public AllStatic { // Clear the inline cache to initial state. static void Clear(Isolate* isolate, Address address, ConstantPoolArray* constant_pool); + // Clear a vector-based inline cache to initial state. + template <class Nexus> + static void Clear(Isolate* isolate, Code::Kind kind, Code* host, + Nexus* nexus); }; @@ -51,7 +55,7 @@ class CallICState FINAL BASE_EMBEDDED { }; -OStream& operator<<(OStream& os, const CallICState& s); +std::ostream& operator<<(std::ostream& os, const CallICState& s); // Mode to overwrite BinaryExpression values. @@ -139,7 +143,7 @@ class BinaryOpICState FINAL BASE_EMBEDDED { Isolate* isolate() const { return isolate_; } private: - friend OStream& operator<<(OStream& os, const BinaryOpICState& s); + friend std::ostream& operator<<(std::ostream& os, const BinaryOpICState& s); enum Kind { NONE, SMI, INT32, NUMBER, STRING, GENERIC }; @@ -173,7 +177,7 @@ class BinaryOpICState FINAL BASE_EMBEDDED { }; -OStream& operator<<(OStream& os, const BinaryOpICState& s); +std::ostream& operator<<(std::ostream& os, const BinaryOpICState& s); class CompareICState { |