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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 F(StringMatch, 3, 1) \ | 820 F(StringMatch, 3, 1) \ |
821 F(StringCharCodeAtRT, 2, 1) \ | 821 F(StringCharCodeAtRT, 2, 1) \ |
822 F(StringCompare, 2, 1) \ | 822 F(StringCompare, 2, 1) \ |
823 F(StringBuilderConcat, 3, 1) \ | 823 F(StringBuilderConcat, 3, 1) \ |
824 F(StringBuilderJoin, 3, 1) \ | 824 F(StringBuilderJoin, 3, 1) \ |
825 F(SparseJoinWithSeparator, 3, 1) \ | 825 F(SparseJoinWithSeparator, 3, 1) \ |
826 F(StringToArray, 2, 1) \ | 826 F(StringToArray, 2, 1) \ |
827 F(StringToLowerCase, 1, 1) \ | 827 F(StringToLowerCase, 1, 1) \ |
828 F(StringToUpperCase, 1, 1) \ | 828 F(StringToUpperCase, 1, 1) \ |
829 F(StringTrim, 3, 1) \ | 829 F(StringTrim, 3, 1) \ |
830 F(TruncateString, 2, 1) \ | |
831 F(NewString, 2, 1) \ | |
832 F(StringLessThan, 2, 1) \ | 830 F(StringLessThan, 2, 1) \ |
833 F(StringLessThanOrEqual, 2, 1) \ | 831 F(StringLessThanOrEqual, 2, 1) \ |
834 F(StringGreaterThan, 2, 1) \ | 832 F(StringGreaterThan, 2, 1) \ |
835 F(StringGreaterThanOrEqual, 2, 1) \ | 833 F(StringGreaterThanOrEqual, 2, 1) \ |
836 F(StringEqual, 2, 1) \ | 834 F(StringEqual, 2, 1) \ |
837 F(StringNotEqual, 2, 1) \ | 835 F(StringNotEqual, 2, 1) \ |
838 F(FlattenString, 1, 1) \ | 836 F(FlattenString, 1, 1) \ |
839 F(StringCharFromCode, 1, 1) \ | 837 F(StringCharFromCode, 1, 1) \ |
840 F(StringCharAt, 2, 1) \ | 838 F(StringCharAt, 2, 1) \ |
841 F(ExternalStringGetChar, 2, 1) \ | 839 F(ExternalStringGetChar, 2, 1) \ |
842 F(OneByteSeqStringGetChar, 2, 1) \ | |
843 F(OneByteSeqStringSetChar, 3, 1) \ | |
844 F(TwoByteSeqStringGetChar, 2, 1) \ | |
845 F(TwoByteSeqStringSetChar, 3, 1) \ | |
846 F(StringCharCodeAt, 2, 1) | 840 F(StringCharCodeAt, 2, 1) |
847 | 841 |
848 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 842 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
849 F(CreateSymbol, 1, 1) \ | 843 F(CreateSymbol, 1, 1) \ |
850 F(CreatePrivateSymbol, 1, 1) \ | 844 F(CreatePrivateSymbol, 1, 1) \ |
851 F(SymbolDescription, 1, 1) \ | 845 F(SymbolDescription, 1, 1) \ |
852 F(SymbolDescriptiveString, 1, 1) \ | 846 F(SymbolDescriptiveString, 1, 1) \ |
853 F(SymbolRegistry, 0, 1) \ | 847 F(SymbolRegistry, 0, 1) \ |
854 F(SymbolIsPrivate, 1, 1) | 848 F(SymbolIsPrivate, 1, 1) |
855 | 849 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 | 1155 |
1162 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1156 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1163 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1157 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1164 STATIC_ASSERT(LANGUAGE_END == 3); | 1158 STATIC_ASSERT(LANGUAGE_END == 3); |
1165 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1159 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1166 | 1160 |
1167 } // namespace internal | 1161 } // namespace internal |
1168 } // namespace v8 | 1162 } // namespace v8 |
1169 | 1163 |
1170 #endif // V8_RUNTIME_RUNTIME_H_ | 1164 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |