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

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

Issue 2647493002: [ic] Clean up handler boilerplate (Closed)
Patch Set: drop dead runtime function 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
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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 959
960 // Most intrinsics are implemented in the runtime/ directory, but ICs are 960 // Most intrinsics are implemented in the runtime/ directory, but ICs are
961 // implemented in ic.cc for now. 961 // implemented in ic.cc for now.
962 #define FOR_EACH_INTRINSIC_IC(F) \ 962 #define FOR_EACH_INTRINSIC_IC(F) \
963 F(BinaryOpIC_Miss, 2, 1) \ 963 F(BinaryOpIC_Miss, 2, 1) \
964 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 964 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \
965 F(CallIC_Miss, 3, 1) \ 965 F(CallIC_Miss, 3, 1) \
966 F(CompareIC_Miss, 3, 1) \ 966 F(CompareIC_Miss, 3, 1) \
967 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ 967 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \
968 F(KeyedLoadIC_Miss, 4, 1) \ 968 F(KeyedLoadIC_Miss, 4, 1) \
969 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \
970 F(KeyedStoreIC_Miss, 5, 1) \ 969 F(KeyedStoreIC_Miss, 5, 1) \
971 F(KeyedStoreIC_Slow, 5, 1) \ 970 F(KeyedStoreIC_Slow, 5, 1) \
972 F(LoadElementWithInterceptor, 2, 1) \ 971 F(LoadElementWithInterceptor, 2, 1) \
973 F(LoadGlobalIC_Miss, 3, 1) \ 972 F(LoadGlobalIC_Miss, 3, 1) \
974 F(LoadGlobalIC_Slow, 1, 1) \ 973 F(LoadGlobalIC_Slow, 1, 1) \
975 F(LoadIC_Miss, 4, 1) \ 974 F(LoadIC_Miss, 4, 1) \
976 F(LoadPropertyWithInterceptor, 3, 1) \ 975 F(LoadPropertyWithInterceptor, 3, 1) \
977 F(LoadPropertyWithInterceptorOnly, 3, 1) \ 976 F(LoadPropertyWithInterceptorOnly, 3, 1) \
978 F(StoreCallbackProperty, 6, 1) \ 977 F(StoreCallbackProperty, 6, 1) \
979 F(StoreIC_Miss, 5, 1) \ 978 F(StoreIC_Miss, 5, 1) \
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1152
1154 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1153 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1155 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1154 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1156 STATIC_ASSERT(LANGUAGE_END == 2); 1155 STATIC_ASSERT(LANGUAGE_END == 2);
1157 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1156 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1158 1157
1159 } // namespace internal 1158 } // namespace internal
1160 } // namespace v8 1159 } // namespace v8
1161 1160
1162 #endif // V8_RUNTIME_RUNTIME_H_ 1161 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/ic/accessor-assembler.h ('K') | « 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