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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 | 903 |
904 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 904 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
905 F(ArrayBufferGetByteLength, 1, 1) \ | 905 F(ArrayBufferGetByteLength, 1, 1) \ |
906 F(ArrayBufferSliceImpl, 4, 1) \ | 906 F(ArrayBufferSliceImpl, 4, 1) \ |
907 F(ArrayBufferNeuter, 1, 1) \ | 907 F(ArrayBufferNeuter, 1, 1) \ |
908 F(TypedArrayInitialize, 6, 1) \ | 908 F(TypedArrayInitialize, 6, 1) \ |
909 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 909 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
910 F(ArrayBufferViewGetByteLength, 1, 1) \ | 910 F(ArrayBufferViewGetByteLength, 1, 1) \ |
911 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 911 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
912 F(TypedArrayGetLength, 1, 1) \ | 912 F(TypedArrayGetLength, 1, 1) \ |
913 F(DataViewGetBuffer, 1, 1) \ | |
914 F(TypedArrayGetBuffer, 1, 1) \ | 913 F(TypedArrayGetBuffer, 1, 1) \ |
915 F(TypedArraySetFastCases, 3, 1) \ | 914 F(TypedArraySetFastCases, 3, 1) \ |
916 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 915 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
917 F(IsTypedArray, 1, 1) \ | 916 F(IsTypedArray, 1, 1) \ |
918 F(IsSharedTypedArray, 1, 1) \ | 917 F(IsSharedTypedArray, 1, 1) \ |
919 F(IsSharedIntegerTypedArray, 1, 1) \ | 918 F(IsSharedIntegerTypedArray, 1, 1) \ |
920 F(IsSharedInteger32TypedArray, 1, 1) \ | 919 F(IsSharedInteger32TypedArray, 1, 1) \ |
921 F(DataViewGetUint8, 3, 1) \ | 920 F(DataViewGetUint8, 3, 1) \ |
922 F(DataViewGetInt8, 3, 1) \ | 921 F(DataViewGetInt8, 3, 1) \ |
923 F(DataViewGetUint16, 3, 1) \ | 922 F(DataViewGetUint16, 3, 1) \ |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 | 1144 |
1146 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1147 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1148 STATIC_ASSERT(LANGUAGE_END == 3); | 1147 STATIC_ASSERT(LANGUAGE_END == 3); |
1149 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1150 | 1149 |
1151 } // namespace internal | 1150 } // namespace internal |
1152 } // namespace v8 | 1151 } // namespace v8 |
1153 | 1152 |
1154 #endif // V8_RUNTIME_RUNTIME_H_ | 1153 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |