Index: src/ic.h |
=================================================================== |
--- src/ic.h (revision 3626) |
+++ src/ic.h (working copy) |
@@ -53,7 +53,8 @@ |
ICU(LoadPropertyWithInterceptorOnly) \ |
ICU(LoadPropertyWithInterceptorForLoad) \ |
ICU(LoadPropertyWithInterceptorForCall) \ |
- ICU(StoreInterceptorProperty) |
+ ICU(StoreInterceptorProperty) \ |
+ ICU(BinaryOp_Patch) |
// |
// IC is the base class for LoadIC, StoreIC, CallIC, KeyedLoadIC, |
@@ -433,6 +434,15 @@ |
}; |
+class BinaryOpIC: public IC { |
+ public: |
+ BinaryOpIC() : IC(NO_EXTRA_FRAME) { } |
+ |
+ void patch(Code* code); |
+ |
+ static void Clear(Address address, Code* target); |
+}; |
+ |
} } // namespace v8::internal |
#endif // V8_IC_H_ |