| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index fc869ad865fa9601e1a2555c57cc574ca83f1be5..2e5611f31397797daef69c8bb2065468ee6a84b2 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -684,6 +684,8 @@ class UnaryOpIC: public IC {
|
| GENERIC
|
| };
|
|
|
| + static Handle<Type> TypeInfoToType(TypeInfo info, Isolate* isolate);
|
| +
|
| explicit UnaryOpIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { }
|
|
|
| void patch(Code* code);
|
| @@ -711,6 +713,12 @@ class BinaryOpIC: public IC {
|
| GENERIC
|
| };
|
|
|
| + static void StubInfoToType(int minor_key,
|
| + Handle<Type>* left,
|
| + Handle<Type>* right,
|
| + Handle<Type>* result,
|
| + Isolate* isolate);
|
| +
|
| explicit BinaryOpIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { }
|
|
|
| void patch(Code* code);
|
| @@ -718,6 +726,9 @@ class BinaryOpIC: public IC {
|
| static const char* GetName(TypeInfo type_info);
|
|
|
| static State ToState(TypeInfo type_info);
|
| +
|
| + private:
|
| + static Handle<Type> TypeInfoToType(TypeInfo binary_type, Isolate* isolate);
|
| };
|
|
|
|
|
| @@ -741,8 +752,18 @@ class CompareIC: public IC {
|
| GENERIC
|
| };
|
|
|
| - static Handle<Type> StateToType(
|
| - Isolate* isolate, State state, Handle<Map> map = Handle<Map>());
|
| + static State NewInputState(State old_state, Handle<Object> value);
|
| +
|
| + static Handle<Type> StateToType(Isolate* isolate,
|
| + State state,
|
| + Handle<Map> map = Handle<Map>());
|
| +
|
| + static void StubInfoToType(int stub_minor_key,
|
| + Handle<Type>* left_type,
|
| + Handle<Type>* right_type,
|
| + Handle<Type>* overall_type,
|
| + Handle<Map> map,
|
| + Isolate* isolate);
|
|
|
| CompareIC(Isolate* isolate, Token::Value op)
|
| : IC(EXTRA_CALL_FRAME, isolate), op_(op) { }
|
|
|