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

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

Issue 2172223002: [stubs] Call interface descriptors cleanup. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-ic-tf
Patch Set: Addressing comments Created 4 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
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | test/cctest/compiler/test-node.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_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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 #define FOR_EACH_INTRINSIC_WASM(F) F(WasmGrowMemory, 1, 1) 917 #define FOR_EACH_INTRINSIC_WASM(F) F(WasmGrowMemory, 1, 1)
918 918
919 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 919 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
920 F(LoadLookupSlotForCall, 1, 2) 920 F(LoadLookupSlotForCall, 1, 2)
921 921
922 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 922 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
923 F(ForInPrepare, 1, 3) 923 F(ForInPrepare, 1, 3)
924 924
925 // Most intrinsics are implemented in the runtime/ directory, but ICs are 925 // Most intrinsics are implemented in the runtime/ directory, but ICs are
926 // implemented in ic.cc for now. 926 // implemented in ic.cc for now.
927 #define FOR_EACH_INTRINSIC_IC(F) \ 927 #define FOR_EACH_INTRINSIC_IC(F) \
928 F(BinaryOpIC_Miss, 2, 1) \ 928 F(BinaryOpIC_Miss, 2, 1) \
929 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 929 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \
930 F(CallIC_Miss, 3, 1) \ 930 F(CallIC_Miss, 3, 1) \
931 F(CompareIC_Miss, 3, 1) \ 931 F(CompareIC_Miss, 3, 1) \
932 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \ 932 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \
933 F(KeyedLoadIC_Miss, 4, 1) \ 933 F(KeyedLoadIC_Miss, 4, 1) \
934 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ 934 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \
935 F(KeyedStoreIC_Miss, 5, 1) \ 935 F(KeyedStoreIC_Miss, 5, 1) \
936 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ 936 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \
937 F(KeyedStoreIC_Slow, 5, 1) \ 937 F(KeyedStoreIC_Slow, 5, 1) \
938 F(LoadElementWithInterceptor, 2, 1) \ 938 F(LoadElementWithInterceptor, 2, 1) \
939 F(LoadGlobalIC_Miss, 2, 1) \ 939 F(LoadGlobalIC_Miss, 2, 1) \
940 F(LoadIC_Miss, 4, 1) \ 940 F(LoadIC_Miss, 4, 1) \
941 F(LoadIC_MissFromStubFailure, 4, 1) \ 941 F(LoadIC_MissFromStubFailure, 4, 1) \
942 F(LoadPropertyWithInterceptor, 3, 1) \ 942 F(LoadPropertyWithInterceptor, 3, 1) \
943 F(LoadPropertyWithInterceptorOnly, 3, 1) \ 943 F(LoadPropertyWithInterceptorOnly, 3, 1) \
944 F(StoreCallbackProperty, 6, 1) \ 944 F(StoreCallbackProperty, 6, 1) \
945 F(StoreIC_Miss, 5, 1) \ 945 F(StoreIC_Miss, 5, 1) \
946 F(StoreIC_MissFromStubFailure, 5, 1) \ 946 F(StoreIC_MissFromStubFailure, 5, 1) \
947 F(StorePropertyWithInterceptor, 3, 1) \ 947 F(TransitionStoreIC_MissFromStubFailure, 6, 1) \
948 F(ToBooleanIC_Miss, 1, 1) \ 948 F(StorePropertyWithInterceptor, 3, 1) \
949 F(ToBooleanIC_Miss, 1, 1) \
949 F(Unreachable, 0, 1) 950 F(Unreachable, 0, 1)
950 951
951 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ 952 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \
952 FOR_EACH_INTRINSIC_IC(F) \ 953 FOR_EACH_INTRINSIC_IC(F) \
953 FOR_EACH_INTRINSIC_ARRAY(F) \ 954 FOR_EACH_INTRINSIC_ARRAY(F) \
954 FOR_EACH_INTRINSIC_ATOMICS(F) \ 955 FOR_EACH_INTRINSIC_ATOMICS(F) \
955 FOR_EACH_INTRINSIC_CLASSES(F) \ 956 FOR_EACH_INTRINSIC_CLASSES(F) \
956 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ 957 FOR_EACH_INTRINSIC_COLLECTIONS(F) \
957 FOR_EACH_INTRINSIC_COMPILER(F) \ 958 FOR_EACH_INTRINSIC_COMPILER(F) \
958 FOR_EACH_INTRINSIC_DATE(F) \ 959 FOR_EACH_INTRINSIC_DATE(F) \
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 1126
1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1128 STATIC_ASSERT(LANGUAGE_END == 3); 1129 STATIC_ASSERT(LANGUAGE_END == 3);
1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1130 1131
1131 } // namespace internal 1132 } // namespace internal
1132 } // namespace v8 1133 } // namespace v8
1133 1134
1134 #endif // V8_RUNTIME_RUNTIME_H_ 1135 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | test/cctest/compiler/test-node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698