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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 F(SetDelete, 2, 1) \ | 711 F(SetDelete, 2, 1) \ |
712 F(SetGetSize, 1, 1) \ | 712 F(SetGetSize, 1, 1) \ |
713 F(SetHas, 2, 1) \ | 713 F(SetHas, 2, 1) \ |
714 F(SetInitialize, 1, 1) \ | 714 F(SetInitialize, 1, 1) \ |
715 /* Arrays */ \ | 715 /* Arrays */ \ |
716 F(HasFastPackedElements, 1, 1) \ | 716 F(HasFastPackedElements, 1, 1) \ |
717 F(GetPrototype, 1, 1) \ | 717 F(GetPrototype, 1, 1) \ |
718 /* Strings */ \ | 718 /* Strings */ \ |
719 F(StringGetLength, 1, 1) \ | 719 F(StringGetLength, 1, 1) \ |
720 /* JSValue */ \ | 720 /* JSValue */ \ |
721 F(JSValueGetValue, 1, 1) | 721 F(JSValueGetValue, 1, 1) \ |
| 722 /* HeapObject */ \ |
| 723 F(HeapObjectGetMap, 1, 1) \ |
| 724 /* Map */ \ |
| 725 F(MapGetInstanceType, 1, 1) |
722 | 726 |
723 | 727 |
724 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 728 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
725 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ | 729 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ |
726 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 730 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
727 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 731 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
728 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ | 732 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ |
729 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ | 733 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ |
730 INLINE_FUNCTION_LIST(F) \ | 734 INLINE_FUNCTION_LIST(F) \ |
731 INLINE_OPTIMIZED_FUNCTION_LIST(F) | 735 INLINE_OPTIMIZED_FUNCTION_LIST(F) |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 | 902 |
899 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
900 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
901 STATIC_ASSERT(LANGUAGE_END == 3); | 905 STATIC_ASSERT(LANGUAGE_END == 3); |
902 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
903 | 907 |
904 } // namespace internal | 908 } // namespace internal |
905 } // namespace v8 | 909 } // namespace v8 |
906 | 910 |
907 #endif // V8_RUNTIME_RUNTIME_H_ | 911 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |