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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 897 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
898 F(ArrayBufferViewGetByteLength, 1, 1) \ | 898 F(ArrayBufferViewGetByteLength, 1, 1) \ |
899 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 899 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
900 F(TypedArrayGetLength, 1, 1) \ | 900 F(TypedArrayGetLength, 1, 1) \ |
901 F(TypedArrayGetBuffer, 1, 1) \ | 901 F(TypedArrayGetBuffer, 1, 1) \ |
902 F(TypedArraySetFastCases, 3, 1) \ | 902 F(TypedArraySetFastCases, 3, 1) \ |
903 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 903 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
904 F(IsTypedArray, 1, 1) \ | 904 F(IsTypedArray, 1, 1) \ |
905 F(IsSharedTypedArray, 1, 1) \ | 905 F(IsSharedTypedArray, 1, 1) \ |
906 F(IsSharedIntegerTypedArray, 1, 1) \ | 906 F(IsSharedIntegerTypedArray, 1, 1) \ |
907 F(IsSharedInteger32TypedArray, 1, 1) \ | 907 F(IsSharedInteger32TypedArray, 1, 1) |
908 F(DataViewGetUint8, 3, 1) \ | |
909 F(DataViewGetInt8, 3, 1) \ | |
910 F(DataViewGetUint16, 3, 1) \ | |
911 F(DataViewGetInt16, 3, 1) \ | |
912 F(DataViewGetUint32, 3, 1) \ | |
913 F(DataViewGetInt32, 3, 1) \ | |
914 F(DataViewGetFloat32, 3, 1) \ | |
915 F(DataViewGetFloat64, 3, 1) \ | |
916 F(DataViewSetUint8, 4, 1) \ | |
917 F(DataViewSetInt8, 4, 1) \ | |
918 F(DataViewSetUint16, 4, 1) \ | |
919 F(DataViewSetInt16, 4, 1) \ | |
920 F(DataViewSetUint32, 4, 1) \ | |
921 F(DataViewSetInt32, 4, 1) \ | |
922 F(DataViewSetFloat32, 4, 1) \ | |
923 F(DataViewSetFloat64, 4, 1) | |
924 | 908 |
925 #define FOR_EACH_INTRINSIC_WASM(F) \ | 909 #define FOR_EACH_INTRINSIC_WASM(F) \ |
926 F(WasmGrowMemory, 1, 1) \ | 910 F(WasmGrowMemory, 1, 1) \ |
927 F(WasmThrowTypeError, 0, 1) | 911 F(WasmThrowTypeError, 0, 1) |
928 | 912 |
929 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 913 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
930 F(LoadLookupSlotForCall, 1, 2) | 914 F(LoadLookupSlotForCall, 1, 2) |
931 | 915 |
932 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 916 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
933 F(ForInPrepare, 1, 3) | 917 F(ForInPrepare, 1, 3) |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 | 1122 |
1139 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1123 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1140 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1124 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1141 STATIC_ASSERT(LANGUAGE_END == 2); | 1125 STATIC_ASSERT(LANGUAGE_END == 2); |
1142 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1126 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1143 | 1127 |
1144 } // namespace internal | 1128 } // namespace internal |
1145 } // namespace v8 | 1129 } // namespace v8 |
1146 | 1130 |
1147 #endif // V8_RUNTIME_RUNTIME_H_ | 1131 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |