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/zone.h" | 10 #include "src/zone.h" |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 F(HasFixedFloat64Elements, 1, 1) \ | 637 F(HasFixedFloat64Elements, 1, 1) \ |
638 F(HasFixedUint8ClampedElements, 1, 1) | 638 F(HasFixedUint8ClampedElements, 1, 1) |
639 | 639 |
640 | 640 |
641 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 641 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
642 F(ArrayBufferInitialize, 3, 1) \ | 642 F(ArrayBufferInitialize, 3, 1) \ |
643 F(ArrayBufferGetByteLength, 1, 1) \ | 643 F(ArrayBufferGetByteLength, 1, 1) \ |
644 F(ArrayBufferSliceImpl, 3, 1) \ | 644 F(ArrayBufferSliceImpl, 3, 1) \ |
645 F(ArrayBufferIsView, 1, 1) \ | 645 F(ArrayBufferIsView, 1, 1) \ |
646 F(ArrayBufferNeuter, 1, 1) \ | 646 F(ArrayBufferNeuter, 1, 1) \ |
647 F(TypedArrayInitialize, 5, 1) \ | 647 F(TypedArrayInitialize, 6, 1) \ |
648 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 648 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
649 F(ArrayBufferViewGetByteLength, 1, 1) \ | 649 F(ArrayBufferViewGetByteLength, 1, 1) \ |
650 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 650 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
651 F(TypedArrayGetLength, 1, 1) \ | 651 F(TypedArrayGetLength, 1, 1) \ |
652 F(DataViewGetBuffer, 1, 1) \ | 652 F(DataViewGetBuffer, 1, 1) \ |
653 F(TypedArrayGetBuffer, 1, 1) \ | 653 F(TypedArrayGetBuffer, 1, 1) \ |
654 F(TypedArraySetFastCases, 3, 1) \ | 654 F(TypedArraySetFastCases, 3, 1) \ |
655 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 655 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
656 F(IsTypedArray, 1, 1) \ | 656 F(IsTypedArray, 1, 1) \ |
657 F(DataViewInitialize, 4, 1) \ | 657 F(DataViewInitialize, 4, 1) \ |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 | 886 |
887 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 887 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
888 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 888 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
889 STATIC_ASSERT(LANGUAGE_END == 3); | 889 STATIC_ASSERT(LANGUAGE_END == 3); |
890 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 890 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
891 | 891 |
892 } // namespace internal | 892 } // namespace internal |
893 } // namespace v8 | 893 } // namespace v8 |
894 | 894 |
895 #endif // V8_RUNTIME_RUNTIME_H_ | 895 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |