| 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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 F(WasmThrowTypeError, 0, 1) | 917 F(WasmThrowTypeError, 0, 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, 6, 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(LoadGlobalIC_Slow, 2, 1) \ | 940 F(LoadGlobalIC_Slow, 2, 1) \ |
| 941 F(LoadIC_Miss, 4, 1) \ | 941 F(LoadIC_Miss, 4, 1) \ |
| 942 F(LoadIC_MissFromStubFailure, 4, 1) \ | 942 F(LoadIC_MissFromStubFailure, 4, 1) \ |
| 943 F(LoadPropertyWithInterceptor, 3, 1) \ | 943 F(LoadPropertyWithInterceptor, 3, 1) \ |
| 944 F(LoadPropertyWithInterceptorOnly, 3, 1) \ | 944 F(LoadPropertyWithInterceptorOnly, 3, 1) \ |
| 945 F(StoreCallbackProperty, 6, 1) \ | 945 F(StoreCallbackProperty, 6, 1) \ |
| 946 F(StoreIC_Miss, 5, 1) \ | 946 F(StoreIC_Miss, 5, 1) \ |
| 947 F(StoreIC_MissFromStubFailure, 5, 1) \ | 947 F(StoreIC_MissFromStubFailure, 5, 1) \ |
| 948 F(TransitionStoreIC_MissFromStubFailure, 6, 1) \ | 948 F(StorePropertyWithInterceptor, 3, 1) \ |
| 949 F(StorePropertyWithInterceptor, 3, 1) \ | 949 F(ToBooleanIC_Miss, 1, 1) \ |
| 950 F(ToBooleanIC_Miss, 1, 1) \ | |
| 951 F(Unreachable, 0, 1) | 950 F(Unreachable, 0, 1) |
| 952 | 951 |
| 953 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 952 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
| 954 FOR_EACH_INTRINSIC_IC(F) \ | 953 FOR_EACH_INTRINSIC_IC(F) \ |
| 955 FOR_EACH_INTRINSIC_ARRAY(F) \ | 954 FOR_EACH_INTRINSIC_ARRAY(F) \ |
| 956 FOR_EACH_INTRINSIC_ATOMICS(F) \ | 955 FOR_EACH_INTRINSIC_ATOMICS(F) \ |
| 957 FOR_EACH_INTRINSIC_CLASSES(F) \ | 956 FOR_EACH_INTRINSIC_CLASSES(F) \ |
| 958 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 957 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
| 959 FOR_EACH_INTRINSIC_COMPILER(F) \ | 958 FOR_EACH_INTRINSIC_COMPILER(F) \ |
| 960 FOR_EACH_INTRINSIC_DATE(F) \ | 959 FOR_EACH_INTRINSIC_DATE(F) \ |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1123 | 1122 |
| 1124 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1123 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1125 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1124 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1126 STATIC_ASSERT(LANGUAGE_END == 2); | 1125 STATIC_ASSERT(LANGUAGE_END == 2); |
| 1127 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1126 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
| 1128 | 1127 |
| 1129 } // namespace internal | 1128 } // namespace internal |
| 1130 } // namespace v8 | 1129 } // namespace v8 |
| 1131 | 1130 |
| 1132 #endif // V8_RUNTIME_RUNTIME_H_ | 1131 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |