| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_IC_H_ | 5 #ifndef V8_IC_H_ |
| 6 #define V8_IC_H_ | 6 #define V8_IC_H_ |
| 7 | 7 |
| 8 #include "src/ic/ic-state.h" | 8 #include "src/ic/ic-state.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 | 14 |
| 15 // IC_UTIL_LIST defines all utility functions called from generated | 15 // IC_UTIL_LIST defines all utility functions called from generated |
| 16 // inline caching code. The argument for the macro, ICU, is the function name. | 16 // inline caching code. The argument for the macro, ICU, is the function name. |
| 17 #define IC_UTIL_LIST(ICU) \ | 17 #define IC_UTIL_LIST(ICU) \ |
| 18 ICU(LoadIC_Miss) \ | 18 ICU(LoadIC_Miss) \ |
| 19 ICU(KeyedLoadIC_Miss) \ | 19 ICU(KeyedLoadIC_Miss) \ |
| 20 ICU(CallIC_Miss) \ | 20 ICU(CallIC_Miss) \ |
| 21 ICU(CallIC_Customization_Miss) \ | 21 ICU(CallIC_Customization_Miss) \ |
| 22 ICU(StoreIC_Miss) \ | 22 ICU(StoreIC_Miss) \ |
| 23 ICU(StoreIC_Slow) \ | 23 ICU(StoreIC_Slow) \ |
| 24 ICU(SharedStoreIC_ExtendStorage) \ | |
| 25 ICU(KeyedStoreIC_Miss) \ | 24 ICU(KeyedStoreIC_Miss) \ |
| 26 ICU(KeyedStoreIC_Slow) \ | 25 ICU(KeyedStoreIC_Slow) \ |
| 27 /* Utilities for IC stubs. */ \ | 26 /* Utilities for IC stubs. */ \ |
| 28 ICU(StoreCallbackProperty) \ | 27 ICU(StoreCallbackProperty) \ |
| 29 ICU(LoadPropertyWithInterceptorOnly) \ | 28 ICU(LoadPropertyWithInterceptorOnly) \ |
| 30 ICU(LoadPropertyWithInterceptor) \ | 29 ICU(LoadPropertyWithInterceptor) \ |
| 31 ICU(LoadElementWithInterceptor) \ | 30 ICU(LoadElementWithInterceptor) \ |
| 32 ICU(StorePropertyWithInterceptor) \ | 31 ICU(StorePropertyWithInterceptor) \ |
| 33 ICU(CompareIC_Miss) \ | 32 ICU(CompareIC_Miss) \ |
| 34 ICU(BinaryOpIC_Miss) \ | 33 ICU(BinaryOpIC_Miss) \ |
| (...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 | 712 |
| 714 // Support functions for interceptor handlers. | 713 // Support functions for interceptor handlers. |
| 715 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); | 714 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); |
| 716 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); | 715 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); |
| 717 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); | 716 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); |
| 718 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); | 717 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); |
| 719 } | 718 } |
| 720 } // namespace v8::internal | 719 } // namespace v8::internal |
| 721 | 720 |
| 722 #endif // V8_IC_H_ | 721 #endif // V8_IC_H_ |
| OLD | NEW |