| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index 7c999daf3006adbb4aa61ec18db9419c6c8cd63e..61ac31e6feda99a60f7843e124f205ac88c10520 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -354,8 +354,6 @@ class CallIC: public IC {
|
|
|
| bool CallAsMethod() const { return call_type_ == METHOD; }
|
|
|
| - void Print(StringStream* stream) const;
|
| -
|
| private:
|
| class ArgcBits: public BitField<int, 0, Code::kArgumentsBits> {};
|
| class CallTypeBits: public BitField<CallType, Code::kArgumentsBits, 1> {};
|
| @@ -392,6 +390,9 @@ class CallIC: public IC {
|
| };
|
|
|
|
|
| +OStream& operator<<(OStream& os, const CallIC::State& s);
|
| +
|
| +
|
| class LoadIC: public IC {
|
| public:
|
| // ExtraICState bits
|
| @@ -865,8 +866,6 @@ class BinaryOpIC: public IC {
|
| }
|
| Type* GetResultType(Zone* zone) const;
|
|
|
| - void Print(StringStream* stream) const;
|
| -
|
| void Update(Handle<Object> left,
|
| Handle<Object> right,
|
| Handle<Object> result);
|
| @@ -874,6 +873,8 @@ class BinaryOpIC: public IC {
|
| Isolate* isolate() const { return isolate_; }
|
|
|
| private:
|
| + friend OStream& operator<<(OStream& os, const BinaryOpIC::State& s);
|
| +
|
| enum Kind { NONE, SMI, INT32, NUMBER, STRING, GENERIC };
|
|
|
| Kind UpdateKind(Handle<Object> object, Kind kind) const;
|
| @@ -915,6 +916,9 @@ class BinaryOpIC: public IC {
|
| };
|
|
|
|
|
| +OStream& operator<<(OStream& os, const BinaryOpIC::State& s);
|
| +
|
| +
|
| class CompareIC: public IC {
|
| public:
|
| // The type/state lattice is defined by the following inequations:
|
|
|