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

Side by Side Diff: src/runtime/runtime.h

Issue 2647493002: [ic] Clean up handler boilerplate (Closed)
Patch Set: rebased Created 3 years, 11 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
« no previous file with comments | « src/ic/keyed-store-generic.cc ('k') | src/v8.gyp » ('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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 958
959 // Most intrinsics are implemented in the runtime/ directory, but ICs are 959 // Most intrinsics are implemented in the runtime/ directory, but ICs are
960 // implemented in ic.cc for now. 960 // implemented in ic.cc for now.
961 #define FOR_EACH_INTRINSIC_IC(F) \ 961 #define FOR_EACH_INTRINSIC_IC(F) \
962 F(BinaryOpIC_Miss, 2, 1) \ 962 F(BinaryOpIC_Miss, 2, 1) \
963 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 963 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \
964 F(CallIC_Miss, 3, 1) \ 964 F(CallIC_Miss, 3, 1) \
965 F(CompareIC_Miss, 3, 1) \ 965 F(CompareIC_Miss, 3, 1) \
966 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ 966 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \
967 F(KeyedLoadIC_Miss, 4, 1) \ 967 F(KeyedLoadIC_Miss, 4, 1) \
968 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \
969 F(KeyedStoreIC_Miss, 5, 1) \ 968 F(KeyedStoreIC_Miss, 5, 1) \
970 F(KeyedStoreIC_Slow, 5, 1) \ 969 F(KeyedStoreIC_Slow, 5, 1) \
971 F(LoadElementWithInterceptor, 2, 1) \ 970 F(LoadElementWithInterceptor, 2, 1) \
972 F(LoadGlobalIC_Miss, 3, 1) \ 971 F(LoadGlobalIC_Miss, 3, 1) \
973 F(LoadGlobalIC_Slow, 1, 1) \ 972 F(LoadGlobalIC_Slow, 1, 1) \
974 F(LoadIC_Miss, 4, 1) \ 973 F(LoadIC_Miss, 4, 1) \
975 F(LoadPropertyWithInterceptor, 3, 1) \ 974 F(LoadPropertyWithInterceptor, 3, 1) \
976 F(LoadPropertyWithInterceptorOnly, 3, 1) \ 975 F(LoadPropertyWithInterceptorOnly, 3, 1) \
977 F(StoreCallbackProperty, 6, 1) \ 976 F(StoreCallbackProperty, 6, 1) \
978 F(StoreIC_Miss, 5, 1) \ 977 F(StoreIC_Miss, 5, 1) \
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 1151
1153 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1152 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1154 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1153 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1155 STATIC_ASSERT(LANGUAGE_END == 2); 1154 STATIC_ASSERT(LANGUAGE_END == 2);
1156 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1155 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1157 1156
1158 } // namespace internal 1157 } // namespace internal
1159 } // namespace v8 1158 } // namespace v8
1160 1159
1161 #endif // V8_RUNTIME_RUNTIME_H_ 1160 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ic/keyed-store-generic.cc ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698