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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 F(HasFixedUint16Elements, 1, 1) \ | 971 F(HasFixedUint16Elements, 1, 1) \ |
972 F(HasFixedInt16Elements, 1, 1) \ | 972 F(HasFixedInt16Elements, 1, 1) \ |
973 F(HasFixedUint32Elements, 1, 1) \ | 973 F(HasFixedUint32Elements, 1, 1) \ |
974 F(HasFixedInt32Elements, 1, 1) \ | 974 F(HasFixedInt32Elements, 1, 1) \ |
975 F(HasFixedFloat32Elements, 1, 1) \ | 975 F(HasFixedFloat32Elements, 1, 1) \ |
976 F(HasFixedFloat64Elements, 1, 1) \ | 976 F(HasFixedFloat64Elements, 1, 1) \ |
977 F(HasFixedUint8ClampedElements, 1, 1) | 977 F(HasFixedUint8ClampedElements, 1, 1) |
978 | 978 |
979 | 979 |
980 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 980 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
981 F(ArrayBufferInitialize, 3, 1) \ | |
982 F(ArrayBufferGetByteLength, 1, 1) \ | 981 F(ArrayBufferGetByteLength, 1, 1) \ |
983 F(ArrayBufferSliceImpl, 3, 1) \ | 982 F(ArrayBufferSliceImpl, 3, 1) \ |
984 F(ArrayBufferIsView, 1, 1) \ | |
985 F(ArrayBufferNeuter, 1, 1) \ | 983 F(ArrayBufferNeuter, 1, 1) \ |
986 F(TypedArrayInitialize, 6, 1) \ | 984 F(TypedArrayInitialize, 6, 1) \ |
987 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 985 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
988 F(ArrayBufferViewGetByteLength, 1, 1) \ | 986 F(ArrayBufferViewGetByteLength, 1, 1) \ |
989 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 987 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
990 F(TypedArrayGetLength, 1, 1) \ | 988 F(TypedArrayGetLength, 1, 1) \ |
991 F(DataViewGetBuffer, 1, 1) \ | 989 F(DataViewGetBuffer, 1, 1) \ |
992 F(TypedArrayGetBuffer, 1, 1) \ | 990 F(TypedArrayGetBuffer, 1, 1) \ |
993 F(TypedArraySetFastCases, 3, 1) \ | 991 F(TypedArraySetFastCases, 3, 1) \ |
994 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 992 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 | 1244 |
1247 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1245 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1248 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1246 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1249 STATIC_ASSERT(LANGUAGE_END == 3); | 1247 STATIC_ASSERT(LANGUAGE_END == 3); |
1250 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1248 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1251 | 1249 |
1252 } // namespace internal | 1250 } // namespace internal |
1253 } // namespace v8 | 1251 } // namespace v8 |
1254 | 1252 |
1255 #endif // V8_RUNTIME_RUNTIME_H_ | 1253 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |