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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 F(Bool8x16And, 2, 1) \ | 886 F(Bool8x16And, 2, 1) \ |
887 F(Bool8x16Or, 2, 1) \ | 887 F(Bool8x16Or, 2, 1) \ |
888 F(Bool8x16Xor, 2, 1) \ | 888 F(Bool8x16Xor, 2, 1) \ |
889 F(Bool8x16Not, 1, 1) \ | 889 F(Bool8x16Not, 1, 1) \ |
890 F(Bool8x16AnyTrue, 1, 1) \ | 890 F(Bool8x16AnyTrue, 1, 1) \ |
891 F(Bool8x16AllTrue, 1, 1) \ | 891 F(Bool8x16AllTrue, 1, 1) \ |
892 F(Bool8x16Swizzle, 17, 1) \ | 892 F(Bool8x16Swizzle, 17, 1) \ |
893 F(Bool8x16Shuffle, 18, 1) | 893 F(Bool8x16Shuffle, 18, 1) |
894 | 894 |
895 | 895 |
896 #define FOR_EACH_INTRINSIC_STRINGS(F) \ | 896 #define FOR_EACH_INTRINSIC_STRINGS(F) \ |
897 F(StringReplaceOneCharWithString, 3, 1) \ | 897 F(StringReplaceOneCharWithString, 3, 1) \ |
898 F(StringIndexOf, 3, 1) \ | 898 F(StringIndexOf, 3, 1) \ |
899 F(StringLastIndexOf, 3, 1) \ | 899 F(StringLastIndexOf, 3, 1) \ |
900 F(StringLocaleCompare, 2, 1) \ | 900 F(StringLocaleCompare, 2, 1) \ |
901 F(SubString, 3, 1) \ | 901 F(SubString, 3, 1) \ |
902 F(StringAdd, 2, 1) \ | 902 F(StringAdd, 2, 1) \ |
903 F(InternalizeString, 1, 1) \ | 903 F(InternalizeString, 1, 1) \ |
904 F(StringMatch, 3, 1) \ | 904 F(StringMatch, 3, 1) \ |
905 F(StringCharCodeAtRT, 2, 1) \ | 905 F(StringCharCodeAtRT, 2, 1) \ |
906 F(StringCompare, 2, 1) \ | 906 F(StringCompare, 2, 1) \ |
907 F(StringBuilderConcat, 3, 1) \ | 907 F(StringBuilderConcat, 3, 1) \ |
908 F(StringBuilderJoin, 3, 1) \ | 908 F(StringBuilderJoin, 3, 1) \ |
909 F(SparseJoinWithSeparator, 3, 1) \ | 909 F(SparseJoinWithSeparator, 3, 1) \ |
910 F(StringToArray, 2, 1) \ | 910 F(StringToArray, 2, 1) \ |
911 F(StringToLowerCase, 1, 1) \ | 911 F(StringToLowerCase, 1, 1) \ |
912 F(StringToUpperCase, 1, 1) \ | 912 F(StringToUpperCase, 1, 1) \ |
913 F(StringTrim, 3, 1) \ | 913 F(StringTrim, 3, 1) \ |
914 F(TruncateString, 2, 1) \ | 914 F(TruncateString, 2, 1) \ |
915 F(NewString, 2, 1) \ | 915 F(NewString, 2, 1) \ |
916 F(StringEquals, 2, 1) \ | 916 F(StringEquals, 2, 1) \ |
917 F(FlattenString, 1, 1) \ | 917 F(FlattenString, 1, 1) \ |
918 F(StringCharFromCode, 1, 1) \ | 918 F(StringCharFromCode, 1, 1) \ |
919 F(StringCharAt, 2, 1) \ | 919 F(StringCharAt, 2, 1) \ |
920 F(OneByteSeqStringGetChar, 2, 1) \ | 920 F(OneByteSeqStringGetChar, 2, 1) \ |
921 F(OneByteSeqStringSetChar, 3, 1) \ | 921 F(OneByteSeqStringSetChar, 3, 1) \ |
922 F(TwoByteSeqStringGetChar, 2, 1) \ | 922 F(TwoByteSeqStringGetChar, 2, 1) \ |
923 F(TwoByteSeqStringSetChar, 3, 1) \ | 923 F(TwoByteSeqStringSetChar, 3, 1) \ |
924 F(StringCharCodeAt, 2, 1) \ | 924 F(StringCharCodeAt, 2, 1) |
925 F(StringGetLength, 1, 1) | |
926 | 925 |
927 | 926 |
928 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 927 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
929 F(CreateSymbol, 1, 1) \ | 928 F(CreateSymbol, 1, 1) \ |
930 F(CreatePrivateSymbol, 1, 1) \ | 929 F(CreatePrivateSymbol, 1, 1) \ |
931 F(SymbolDescription, 1, 1) \ | 930 F(SymbolDescription, 1, 1) \ |
932 F(SymbolDescriptiveString, 1, 1) \ | 931 F(SymbolDescriptiveString, 1, 1) \ |
933 F(SymbolRegistry, 0, 1) \ | 932 F(SymbolRegistry, 0, 1) \ |
934 F(SymbolIsPrivate, 1, 1) | 933 F(SymbolIsPrivate, 1, 1) |
935 | 934 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 | 1251 |
1253 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1252 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1254 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1253 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1255 STATIC_ASSERT(LANGUAGE_END == 3); | 1254 STATIC_ASSERT(LANGUAGE_END == 3); |
1256 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1255 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1257 | 1256 |
1258 } // namespace internal | 1257 } // namespace internal |
1259 } // namespace v8 | 1258 } // namespace v8 |
1260 | 1259 |
1261 #endif // V8_RUNTIME_RUNTIME_H_ | 1260 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |