Index: src/ic.h |
=================================================================== |
--- src/ic.h (revision 7552) |
+++ src/ic.h (working copy) |
@@ -53,7 +53,6 @@ |
ICU(LoadPropertyWithInterceptorForCall) \ |
ICU(KeyedLoadPropertyWithInterceptor) \ |
ICU(StoreInterceptorProperty) \ |
- ICU(BinaryOp_Patch) \ |
ICU(TypeRecordingBinaryOp_Patch) \ |
ICU(CompareIC_Miss) |
// |
@@ -577,30 +576,6 @@ |
}; |
-class BinaryOpIC: public IC { |
- public: |
- |
- enum TypeInfo { |
- UNINIT_OR_SMI, |
- DEFAULT, // Initial state. When first executed, patches to one |
- // of the following states depending on the operands types. |
- HEAP_NUMBERS, // Both arguments are HeapNumbers. |
- STRINGS, // At least one of the arguments is String. |
- GENERIC // Non-specialized case (processes any type combination). |
- }; |
- |
- explicit BinaryOpIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { } |
- |
- void patch(Code* code); |
- |
- static const char* GetName(TypeInfo type_info); |
- |
- static State ToState(TypeInfo type_info); |
- |
- static TypeInfo GetTypeInfo(Object* left, Object* right); |
-}; |
- |
- |
// Type Recording BinaryOpIC, that records the types of the inputs and outputs. |
class TRBinaryOpIC: public IC { |
public: |