Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: src/ic.h

Issue 430783002: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Port Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 13
14 const int kMaxKeyedPolymorphism = 4; 14 const int kMaxKeyedPolymorphism = 4;
15 15
16 16
17 // IC_UTIL_LIST defines all utility functions called from generated 17 // IC_UTIL_LIST defines all utility functions called from generated
18 // inline caching code. The argument for the macro, ICU, is the function name. 18 // inline caching code. The argument for the macro, ICU, is the function name.
19 #define IC_UTIL_LIST(ICU) \ 19 #define IC_UTIL_LIST(ICU) \
20 ICU(LoadIC_Miss) \ 20 ICU(LoadIC_Miss) \
21 ICU(KeyedLoadIC_Miss) \ 21 ICU(KeyedLoadIC_Miss) \
22 ICU(CallIC_Miss) \ 22 ICU(CallIC_Miss) \
23 ICU(CallIC_Customization_Miss) \ 23 ICU(CallIC_Customization_Miss) \
24 ICU(StoreIC_Miss) \ 24 ICU(StoreIC_Miss) \
25 ICU(StoreIC_ArrayLength) \
26 ICU(StoreIC_Slow) \ 25 ICU(StoreIC_Slow) \
27 ICU(SharedStoreIC_ExtendStorage) \ 26 ICU(SharedStoreIC_ExtendStorage) \
28 ICU(KeyedStoreIC_Miss) \ 27 ICU(KeyedStoreIC_Miss) \
29 ICU(KeyedStoreIC_Slow) \ 28 ICU(KeyedStoreIC_Slow) \
30 /* Utilities for IC stubs. */ \ 29 /* Utilities for IC stubs. */ \
31 ICU(StoreCallbackProperty) \ 30 ICU(StoreCallbackProperty) \
32 ICU(LoadPropertyWithInterceptorOnly) \ 31 ICU(LoadPropertyWithInterceptorOnly) \
33 ICU(LoadPropertyWithInterceptor) \ 32 ICU(LoadPropertyWithInterceptor) \
34 ICU(LoadElementWithInterceptor) \ 33 ICU(LoadElementWithInterceptor) \
35 ICU(StorePropertyWithInterceptor) \ 34 ICU(StorePropertyWithInterceptor) \
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1024 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1026 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1025 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1027 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1026 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1028 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1027 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1029 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1028 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1030 1029
1031 1030
1032 } } // namespace v8::internal 1031 } } // namespace v8::internal
1033 1032
1034 #endif // V8_IC_H_ 1033 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698