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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 #define FOR_EACH_INTRINSIC_STRINGS(F) \ | 903 #define FOR_EACH_INTRINSIC_STRINGS(F) \ |
904 F(StringReplaceOneCharWithString, 3, 1) \ | 904 F(StringReplaceOneCharWithString, 3, 1) \ |
905 F(StringIndexOf, 3, 1) \ | 905 F(StringIndexOf, 3, 1) \ |
906 F(StringLastIndexOf, 3, 1) \ | 906 F(StringLastIndexOf, 3, 1) \ |
907 F(StringLocaleCompare, 2, 1) \ | 907 F(StringLocaleCompare, 2, 1) \ |
908 F(SubString, 3, 1) \ | 908 F(SubString, 3, 1) \ |
909 F(StringAdd, 2, 1) \ | 909 F(StringAdd, 2, 1) \ |
910 F(InternalizeString, 1, 1) \ | 910 F(InternalizeString, 1, 1) \ |
911 F(StringMatch, 3, 1) \ | 911 F(StringMatch, 3, 1) \ |
912 F(StringCharCodeAtRT, 2, 1) \ | 912 F(StringCharCodeAtRT, 2, 1) \ |
913 F(CharFromCode, 1, 1) \ | |
914 F(StringCompare, 2, 1) \ | 913 F(StringCompare, 2, 1) \ |
915 F(StringBuilderConcat, 3, 1) \ | 914 F(StringBuilderConcat, 3, 1) \ |
916 F(StringBuilderJoin, 3, 1) \ | 915 F(StringBuilderJoin, 3, 1) \ |
917 F(SparseJoinWithSeparator, 3, 1) \ | 916 F(SparseJoinWithSeparator, 3, 1) \ |
918 F(StringToArray, 2, 1) \ | 917 F(StringToArray, 2, 1) \ |
919 F(StringToLowerCase, 1, 1) \ | 918 F(StringToLowerCase, 1, 1) \ |
920 F(StringToUpperCase, 1, 1) \ | 919 F(StringToUpperCase, 1, 1) \ |
921 F(StringTrim, 3, 1) \ | 920 F(StringTrim, 3, 1) \ |
922 F(TruncateString, 2, 1) \ | 921 F(TruncateString, 2, 1) \ |
923 F(NewString, 2, 1) \ | 922 F(NewString, 2, 1) \ |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1259 | 1258 |
1260 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1259 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1261 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1260 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1262 STATIC_ASSERT(LANGUAGE_END == 3); | 1261 STATIC_ASSERT(LANGUAGE_END == 3); |
1263 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1262 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1264 | 1263 |
1265 } // namespace internal | 1264 } // namespace internal |
1266 } // namespace v8 | 1265 } // namespace v8 |
1267 | 1266 |
1268 #endif // V8_RUNTIME_RUNTIME_H_ | 1267 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |