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