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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 F(Bool8x16Or, 2, 1) \ | 835 F(Bool8x16Or, 2, 1) \ |
836 F(Bool8x16Xor, 2, 1) \ | 836 F(Bool8x16Xor, 2, 1) \ |
837 F(Bool8x16Not, 1, 1) \ | 837 F(Bool8x16Not, 1, 1) \ |
838 F(Bool8x16AnyTrue, 1, 1) \ | 838 F(Bool8x16AnyTrue, 1, 1) \ |
839 F(Bool8x16AllTrue, 1, 1) \ | 839 F(Bool8x16AllTrue, 1, 1) \ |
840 F(Bool8x16Swizzle, 17, 1) \ | 840 F(Bool8x16Swizzle, 17, 1) \ |
841 F(Bool8x16Shuffle, 18, 1) \ | 841 F(Bool8x16Shuffle, 18, 1) \ |
842 F(Bool8x16Equal, 2, 1) \ | 842 F(Bool8x16Equal, 2, 1) \ |
843 F(Bool8x16NotEqual, 2, 1) | 843 F(Bool8x16NotEqual, 2, 1) |
844 | 844 |
845 | |
846 #define FOR_EACH_INTRINSIC_STRINGS(F) \ | 845 #define FOR_EACH_INTRINSIC_STRINGS(F) \ |
847 F(StringReplaceOneCharWithString, 3, 1) \ | 846 F(StringReplaceOneCharWithString, 3, 1) \ |
848 F(StringIndexOf, 3, 1) \ | 847 F(StringIndexOf, 3, 1) \ |
849 F(StringLastIndexOf, 3, 1) \ | 848 F(StringLastIndexOf, 3, 1) \ |
850 F(StringLocaleCompare, 2, 1) \ | 849 F(StringLocaleCompare, 2, 1) \ |
851 F(SubString, 3, 1) \ | 850 F(SubString, 3, 1) \ |
852 F(StringAdd, 2, 1) \ | 851 F(StringAdd, 2, 1) \ |
853 F(InternalizeString, 1, 1) \ | 852 F(InternalizeString, 1, 1) \ |
854 F(StringMatch, 3, 1) \ | 853 F(StringMatch, 3, 1) \ |
855 F(StringCharCodeAtRT, 2, 1) \ | 854 F(StringCharCodeAtRT, 2, 1) \ |
856 F(StringCompare, 2, 1) \ | 855 F(StringCompare, 2, 1) \ |
857 F(StringBuilderConcat, 3, 1) \ | 856 F(StringBuilderConcat, 3, 1) \ |
858 F(StringBuilderJoin, 3, 1) \ | 857 F(StringBuilderJoin, 3, 1) \ |
859 F(SparseJoinWithSeparator, 3, 1) \ | 858 F(SparseJoinWithSeparator, 3, 1) \ |
860 F(StringToArray, 2, 1) \ | 859 F(StringToArray, 2, 1) \ |
861 F(StringToLowerCase, 1, 1) \ | 860 F(StringToLowerCase, 1, 1) \ |
862 F(StringToUpperCase, 1, 1) \ | 861 F(StringToUpperCase, 1, 1) \ |
863 F(StringTrim, 3, 1) \ | 862 F(StringTrim, 3, 1) \ |
864 F(TruncateString, 2, 1) \ | 863 F(TruncateString, 2, 1) \ |
865 F(NewString, 2, 1) \ | 864 F(NewString, 2, 1) \ |
866 F(StringEquals, 2, 1) \ | 865 F(StringEqual, 2, 1) \ |
867 F(FlattenString, 1, 1) \ | 866 F(FlattenString, 1, 1) \ |
868 F(StringCharFromCode, 1, 1) \ | 867 F(StringCharFromCode, 1, 1) \ |
869 F(StringCharAt, 2, 1) \ | 868 F(StringCharAt, 2, 1) \ |
870 F(OneByteSeqStringGetChar, 2, 1) \ | 869 F(OneByteSeqStringGetChar, 2, 1) \ |
871 F(OneByteSeqStringSetChar, 3, 1) \ | 870 F(OneByteSeqStringSetChar, 3, 1) \ |
872 F(TwoByteSeqStringGetChar, 2, 1) \ | 871 F(TwoByteSeqStringGetChar, 2, 1) \ |
873 F(TwoByteSeqStringSetChar, 3, 1) \ | 872 F(TwoByteSeqStringSetChar, 3, 1) \ |
874 F(StringCharCodeAt, 2, 1) | 873 F(StringCharCodeAt, 2, 1) |
875 | 874 |
876 | |
877 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 875 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
878 F(CreateSymbol, 1, 1) \ | 876 F(CreateSymbol, 1, 1) \ |
879 F(CreatePrivateSymbol, 1, 1) \ | 877 F(CreatePrivateSymbol, 1, 1) \ |
880 F(SymbolDescription, 1, 1) \ | 878 F(SymbolDescription, 1, 1) \ |
881 F(SymbolDescriptiveString, 1, 1) \ | 879 F(SymbolDescriptiveString, 1, 1) \ |
882 F(SymbolRegistry, 0, 1) \ | 880 F(SymbolRegistry, 0, 1) \ |
883 F(SymbolIsPrivate, 1, 1) | 881 F(SymbolIsPrivate, 1, 1) |
884 | 882 |
885 #define FOR_EACH_INTRINSIC_TEST(F) \ | 883 #define FOR_EACH_INTRINSIC_TEST(F) \ |
886 F(DeoptimizeFunction, 1, 1) \ | 884 F(DeoptimizeFunction, 1, 1) \ |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1188 | 1186 |
1189 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1187 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1190 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1188 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1191 STATIC_ASSERT(LANGUAGE_END == 3); | 1189 STATIC_ASSERT(LANGUAGE_END == 3); |
1192 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1190 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1193 | 1191 |
1194 } // namespace internal | 1192 } // namespace internal |
1195 } // namespace v8 | 1193 } // namespace v8 |
1196 | 1194 |
1197 #endif // V8_RUNTIME_RUNTIME_H_ | 1195 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |