OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 F(RegExpCompile, 3, 1) \ | 188 F(RegExpCompile, 3, 1) \ |
189 F(RegExpExec, 4, 1) \ | 189 F(RegExpExec, 4, 1) \ |
190 F(RegExpExecMultiple, 4, 1) \ | 190 F(RegExpExecMultiple, 4, 1) \ |
191 F(RegExpInitializeObject, 5, 1) \ | 191 F(RegExpInitializeObject, 5, 1) \ |
192 F(RegExpConstructResult, 3, 1) \ | 192 F(RegExpConstructResult, 3, 1) \ |
193 \ | 193 \ |
194 /* JSON */ \ | 194 /* JSON */ \ |
195 F(ParseJson, 1, 1) \ | 195 F(ParseJson, 1, 1) \ |
196 F(BasicJSONStringify, 1, 1) \ | 196 F(BasicJSONStringify, 1, 1) \ |
197 F(QuoteJSONString, 1, 1) \ | 197 F(QuoteJSONString, 1, 1) \ |
198 F(QuoteJSONStringComma, 1, 1) \ | |
199 F(QuoteJSONStringArray, 1, 1) \ | |
200 \ | 198 \ |
201 /* Strings */ \ | 199 /* Strings */ \ |
202 F(StringCharCodeAt, 2, 1) \ | 200 F(StringCharCodeAt, 2, 1) \ |
203 F(StringIndexOf, 3, 1) \ | 201 F(StringIndexOf, 3, 1) \ |
204 F(StringLastIndexOf, 3, 1) \ | 202 F(StringLastIndexOf, 3, 1) \ |
205 F(StringLocaleCompare, 2, 1) \ | 203 F(StringLocaleCompare, 2, 1) \ |
206 F(SubString, 3, 1) \ | 204 F(SubString, 3, 1) \ |
207 F(StringReplaceGlobalRegExpWithString, 4, 1) \ | 205 F(StringReplaceGlobalRegExpWithString, 4, 1) \ |
208 F(StringReplaceOneCharWithString, 3, 1) \ | 206 F(StringReplaceOneCharWithString, 3, 1) \ |
209 F(StringMatch, 3, 1) \ | 207 F(StringMatch, 3, 1) \ |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 //--------------------------------------------------------------------------- | 716 //--------------------------------------------------------------------------- |
719 // Constants used by interface to runtime functions. | 717 // Constants used by interface to runtime functions. |
720 | 718 |
721 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 719 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
722 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 720 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
723 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 721 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
724 | 722 |
725 } } // namespace v8::internal | 723 } } // namespace v8::internal |
726 | 724 |
727 #endif // V8_RUNTIME_H_ | 725 #endif // V8_RUNTIME_H_ |
OLD | NEW |