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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 F(HasFixedInt16Elements, 1, 1) \ | 964 F(HasFixedInt16Elements, 1, 1) \ |
965 F(HasFixedUint32Elements, 1, 1) \ | 965 F(HasFixedUint32Elements, 1, 1) \ |
966 F(HasFixedInt32Elements, 1, 1) \ | 966 F(HasFixedInt32Elements, 1, 1) \ |
967 F(HasFixedFloat32Elements, 1, 1) \ | 967 F(HasFixedFloat32Elements, 1, 1) \ |
968 F(HasFixedFloat64Elements, 1, 1) \ | 968 F(HasFixedFloat64Elements, 1, 1) \ |
969 F(HasFixedUint8ClampedElements, 1, 1) | 969 F(HasFixedUint8ClampedElements, 1, 1) |
970 | 970 |
971 | 971 |
972 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 972 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
973 F(ArrayBufferGetByteLength, 1, 1) \ | 973 F(ArrayBufferGetByteLength, 1, 1) \ |
974 F(ArrayBufferSliceImpl, 3, 1) \ | 974 F(ArrayBufferSliceImpl, 4, 1) \ |
975 F(ArrayBufferNeuter, 1, 1) \ | 975 F(ArrayBufferNeuter, 1, 1) \ |
976 F(TypedArrayInitialize, 6, 1) \ | 976 F(TypedArrayInitialize, 6, 1) \ |
977 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 977 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
978 F(ArrayBufferViewGetByteLength, 1, 1) \ | 978 F(ArrayBufferViewGetByteLength, 1, 1) \ |
979 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 979 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
980 F(TypedArrayGetLength, 1, 1) \ | 980 F(TypedArrayGetLength, 1, 1) \ |
981 F(DataViewGetBuffer, 1, 1) \ | 981 F(DataViewGetBuffer, 1, 1) \ |
982 F(TypedArrayGetBuffer, 1, 1) \ | 982 F(TypedArrayGetBuffer, 1, 1) \ |
983 F(TypedArraySetFastCases, 3, 1) \ | 983 F(TypedArraySetFastCases, 3, 1) \ |
984 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 984 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 | 1227 |
1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1230 STATIC_ASSERT(LANGUAGE_END == 3); | 1230 STATIC_ASSERT(LANGUAGE_END == 3); |
1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1232 | 1232 |
1233 } // namespace internal | 1233 } // namespace internal |
1234 } // namespace v8 | 1234 } // namespace v8 |
1235 | 1235 |
1236 #endif // V8_RUNTIME_RUNTIME_H_ | 1236 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |