diff options
Diffstat (limited to 'V8Binding/v8/src/ic.h')
-rw-r--r-- | V8Binding/v8/src/ic.h | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/V8Binding/v8/src/ic.h b/V8Binding/v8/src/ic.h index 593519b..860b7e6 100644 --- a/V8Binding/v8/src/ic.h +++ b/V8Binding/v8/src/ic.h @@ -35,17 +35,19 @@ namespace internal { // IC_UTIL_LIST defines all utility functions called from generated // inline caching code. The argument for the macro, ICU, is the function name. -#define IC_UTIL_LIST(ICU) \ - ICU(LoadIC_Miss) \ - ICU(KeyedLoadIC_Miss) \ - ICU(CallIC_Miss) \ - ICU(StoreIC_Miss) \ - ICU(SharedStoreIC_ExtendStorage) \ - ICU(KeyedStoreIC_Miss) \ - /* Utilities for IC stubs. */ \ - ICU(LoadCallbackProperty) \ - ICU(StoreCallbackProperty) \ - ICU(LoadInterceptorProperty) \ +#define IC_UTIL_LIST(ICU) \ + ICU(LoadIC_Miss) \ + ICU(KeyedLoadIC_Miss) \ + ICU(CallIC_Miss) \ + ICU(StoreIC_Miss) \ + ICU(SharedStoreIC_ExtendStorage) \ + ICU(KeyedStoreIC_Miss) \ + /* Utilities for IC stubs. */ \ + ICU(LoadCallbackProperty) \ + ICU(StoreCallbackProperty) \ + ICU(LoadPropertyWithInterceptorOnly) \ + ICU(LoadPropertyWithInterceptorForLoad) \ + ICU(LoadPropertyWithInterceptorForCall) \ ICU(StoreInterceptorProperty) // @@ -387,6 +389,10 @@ class KeyedStoreIC: public IC { // Support for patching the map that is checked in an inlined // version of keyed store. + // The address is the patch point for the IC call + // (Assembler::kTargetAddrToReturnAddrDist before the end of + // the call/return address). + // The map is the new map that the inlined code should check against. static bool PatchInlinedStore(Address address, Object* map); friend class IC; |