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

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

Issue 2673383002: [ic] Encode LoadGlobalIC's typeof mode in slot kind instead of code object's flags. (Closed)
Patch Set: Addressed comments and added check to FCG Created 3 years, 10 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/objects-printer.cc ('k') | src/type-feedback-vector.h » ('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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 #define FOR_EACH_INTRINSIC_IC(F) \ 963 #define FOR_EACH_INTRINSIC_IC(F) \
964 F(BinaryOpIC_Miss, 2, 1) \ 964 F(BinaryOpIC_Miss, 2, 1) \
965 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 965 F(BinaryOpIC_MissWithAllocationSite, 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(KeyedStoreIC_Miss, 5, 1) \ 969 F(KeyedStoreIC_Miss, 5, 1) \
970 F(KeyedStoreIC_Slow, 5, 1) \ 970 F(KeyedStoreIC_Slow, 5, 1) \
971 F(LoadElementWithInterceptor, 2, 1) \ 971 F(LoadElementWithInterceptor, 2, 1) \
972 F(LoadGlobalIC_Miss, 3, 1) \ 972 F(LoadGlobalIC_Miss, 3, 1) \
973 F(LoadGlobalIC_Slow, 1, 1) \ 973 F(LoadGlobalIC_Slow, 3, 1) \
974 F(LoadIC_Miss, 4, 1) \ 974 F(LoadIC_Miss, 4, 1) \
975 F(LoadPropertyWithInterceptor, 3, 1) \ 975 F(LoadPropertyWithInterceptor, 5, 1) \
976 F(LoadPropertyWithInterceptorOnly, 3, 1) \ 976 F(LoadPropertyWithInterceptorOnly, 3, 1) \
977 F(StoreCallbackProperty, 6, 1) \ 977 F(StoreCallbackProperty, 6, 1) \
978 F(StoreIC_Miss, 5, 1) \ 978 F(StoreIC_Miss, 5, 1) \
979 F(StorePropertyWithInterceptor, 5, 1) \ 979 F(StorePropertyWithInterceptor, 5, 1) \
980 F(ToBooleanIC_Miss, 1, 1) \ 980 F(ToBooleanIC_Miss, 1, 1) \
981 F(Unreachable, 0, 1) 981 F(Unreachable, 0, 1)
982 982
983 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ 983 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \
984 FOR_EACH_INTRINSIC_IC(F) \ 984 FOR_EACH_INTRINSIC_IC(F) \
985 FOR_EACH_INTRINSIC_ARRAY(F) \ 985 FOR_EACH_INTRINSIC_ARRAY(F) \
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 kMaybeDeopted = 1 << 3, 1165 kMaybeDeopted = 1 << 3,
1166 kOptimized = 1 << 4, 1166 kOptimized = 1 << 4,
1167 kTurboFanned = 1 << 5, 1167 kTurboFanned = 1 << 5,
1168 kInterpreted = 1 << 6, 1168 kInterpreted = 1 << 6,
1169 }; 1169 };
1170 1170
1171 } // namespace internal 1171 } // namespace internal
1172 } // namespace v8 1172 } // namespace v8
1173 1173
1174 #endif // V8_RUNTIME_RUNTIME_H_ 1174 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698