OLD | NEW |
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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 // implemented in ic.cc for now. | 929 // implemented in ic.cc for now. |
930 #define FOR_EACH_INTRINSIC_IC(F) \ | 930 #define FOR_EACH_INTRINSIC_IC(F) \ |
931 F(BinaryOpIC_Miss, 2, 1) \ | 931 F(BinaryOpIC_Miss, 2, 1) \ |
932 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ | 932 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ |
933 F(CallIC_Miss, 3, 1) \ | 933 F(CallIC_Miss, 3, 1) \ |
934 F(CompareIC_Miss, 3, 1) \ | 934 F(CompareIC_Miss, 3, 1) \ |
935 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ | 935 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ |
936 F(KeyedLoadIC_Miss, 4, 1) \ | 936 F(KeyedLoadIC_Miss, 4, 1) \ |
937 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ | 937 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ |
938 F(KeyedStoreIC_Miss, 5, 1) \ | 938 F(KeyedStoreIC_Miss, 5, 1) \ |
939 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ | |
940 F(KeyedStoreIC_Slow, 5, 1) \ | 939 F(KeyedStoreIC_Slow, 5, 1) \ |
941 F(LoadElementWithInterceptor, 2, 1) \ | 940 F(LoadElementWithInterceptor, 2, 1) \ |
942 F(LoadGlobalIC_Miss, 2, 1) \ | 941 F(LoadGlobalIC_Miss, 2, 1) \ |
943 F(LoadGlobalIC_Slow, 2, 1) \ | 942 F(LoadGlobalIC_Slow, 2, 1) \ |
944 F(LoadIC_Miss, 4, 1) \ | 943 F(LoadIC_Miss, 4, 1) \ |
945 F(LoadIC_MissFromStubFailure, 4, 1) \ | |
946 F(LoadPropertyWithInterceptor, 3, 1) \ | 944 F(LoadPropertyWithInterceptor, 3, 1) \ |
947 F(LoadPropertyWithInterceptorOnly, 3, 1) \ | 945 F(LoadPropertyWithInterceptorOnly, 3, 1) \ |
948 F(StoreCallbackProperty, 6, 1) \ | 946 F(StoreCallbackProperty, 6, 1) \ |
949 F(StoreIC_Miss, 5, 1) \ | 947 F(StoreIC_Miss, 5, 1) \ |
950 F(StoreIC_MissFromStubFailure, 5, 1) \ | |
951 F(StorePropertyWithInterceptor, 3, 1) \ | 948 F(StorePropertyWithInterceptor, 3, 1) \ |
952 F(ToBooleanIC_Miss, 1, 1) \ | 949 F(ToBooleanIC_Miss, 1, 1) \ |
953 F(Unreachable, 0, 1) | 950 F(Unreachable, 0, 1) |
954 | 951 |
955 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 952 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
956 FOR_EACH_INTRINSIC_IC(F) \ | 953 FOR_EACH_INTRINSIC_IC(F) \ |
957 FOR_EACH_INTRINSIC_ARRAY(F) \ | 954 FOR_EACH_INTRINSIC_ARRAY(F) \ |
958 FOR_EACH_INTRINSIC_ATOMICS(F) \ | 955 FOR_EACH_INTRINSIC_ATOMICS(F) \ |
959 FOR_EACH_INTRINSIC_CLASSES(F) \ | 956 FOR_EACH_INTRINSIC_CLASSES(F) \ |
960 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 957 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 | 1122 |
1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1123 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1124 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1128 STATIC_ASSERT(LANGUAGE_END == 2); | 1125 STATIC_ASSERT(LANGUAGE_END == 2); |
1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1126 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1130 | 1127 |
1131 } // namespace internal | 1128 } // namespace internal |
1132 } // namespace v8 | 1129 } // namespace v8 |
1133 | 1130 |
1134 #endif // V8_RUNTIME_RUNTIME_H_ | 1131 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |