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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 F(MapInitialize, 1, 1) \ | 706 F(MapInitialize, 1, 1) \ |
707 F(MapSet, 3, 1) \ | 707 F(MapSet, 3, 1) \ |
708 F(SetAdd, 2, 1) \ | 708 F(SetAdd, 2, 1) \ |
709 F(SetClear, 1, 1) \ | 709 F(SetClear, 1, 1) \ |
710 F(SetDelete, 2, 1) \ | 710 F(SetDelete, 2, 1) \ |
711 F(SetGetSize, 1, 1) \ | 711 F(SetGetSize, 1, 1) \ |
712 F(SetHas, 2, 1) \ | 712 F(SetHas, 2, 1) \ |
713 F(SetInitialize, 1, 1) \ | 713 F(SetInitialize, 1, 1) \ |
714 /* Arrays */ \ | 714 /* Arrays */ \ |
715 F(HasFastPackedElements, 1, 1) \ | 715 F(HasFastPackedElements, 1, 1) \ |
716 F(GetPrototype, 1, 1) | 716 F(GetPrototype, 1, 1) \ |
| 717 /* Strings */ \ |
| 718 F(StringGetLength, 1, 1) \ |
| 719 /* JSValue */ \ |
| 720 F(JSValueGetValue, 1, 1) |
717 | 721 |
718 | 722 |
719 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 723 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
720 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ | 724 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ |
721 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 725 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
722 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 726 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
723 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ | 727 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ |
724 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ | 728 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ |
725 INLINE_FUNCTION_LIST(F) \ | 729 INLINE_FUNCTION_LIST(F) \ |
726 INLINE_OPTIMIZED_FUNCTION_LIST(F) | 730 INLINE_OPTIMIZED_FUNCTION_LIST(F) |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 | 897 |
894 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 898 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
895 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 899 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
896 STATIC_ASSERT(LANGUAGE_END == 3); | 900 STATIC_ASSERT(LANGUAGE_END == 3); |
897 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 901 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
898 | 902 |
899 } // namespace internal | 903 } // namespace internal |
900 } // namespace v8 | 904 } // namespace v8 |
901 | 905 |
902 #endif // V8_RUNTIME_RUNTIME_H_ | 906 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |