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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 F(CreateApiFunction, 1, 1) \ | 239 F(CreateApiFunction, 1, 1) \ |
240 F(IsTemplate, 1, 1) \ | 240 F(IsTemplate, 1, 1) \ |
241 F(GetTemplateField, 2, 1) \ | 241 F(GetTemplateField, 2, 1) \ |
242 F(DisableAccessChecks, 1, 1) \ | 242 F(DisableAccessChecks, 1, 1) \ |
243 F(EnableAccessChecks, 1, 1) \ | 243 F(EnableAccessChecks, 1, 1) \ |
244 \ | 244 \ |
245 /* Dates */ \ | 245 /* Dates */ \ |
246 F(DateCurrentTime, 0, 1) \ | 246 F(DateCurrentTime, 0, 1) \ |
247 F(DateParseString, 2, 1) \ | 247 F(DateParseString, 2, 1) \ |
248 F(DateLocalTimezone, 1, 1) \ | 248 F(DateLocalTimezone, 1, 1) \ |
249 F(DateLocalTimeOffset, 0, 1) \ | 249 F(DateToUTC, 1, 1) \ |
250 F(DateDaylightSavingsOffset, 1, 1) \ | |
251 F(DateMakeDay, 2, 1) \ | 250 F(DateMakeDay, 2, 1) \ |
252 F(DateYMDFromTime, 2, 1) \ | 251 F(DateSetValue, 3, 1) \ |
253 \ | 252 \ |
254 /* Numbers */ \ | 253 /* Numbers */ \ |
255 \ | 254 \ |
256 /* Globals */ \ | 255 /* Globals */ \ |
257 F(CompileString, 1, 1) \ | 256 F(CompileString, 1, 1) \ |
258 F(GlobalPrint, 1, 1) \ | 257 F(GlobalPrint, 1, 1) \ |
259 \ | 258 \ |
260 /* Eval */ \ | 259 /* Eval */ \ |
261 F(GlobalReceiver, 1, 1) \ | 260 F(GlobalReceiver, 1, 1) \ |
262 F(ResolvePossiblyDirectEval, 5, 2) \ | 261 F(ResolvePossiblyDirectEval, 5, 2) \ |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 #define INLINE_FUNCTION_LIST(F) \ | 485 #define INLINE_FUNCTION_LIST(F) \ |
487 F(IsSmi, 1, 1) \ | 486 F(IsSmi, 1, 1) \ |
488 F(IsNonNegativeSmi, 1, 1) \ | 487 F(IsNonNegativeSmi, 1, 1) \ |
489 F(IsArray, 1, 1) \ | 488 F(IsArray, 1, 1) \ |
490 F(IsRegExp, 1, 1) \ | 489 F(IsRegExp, 1, 1) \ |
491 F(CallFunction, -1 /* receiver + n args + function */, 1) \ | 490 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
492 F(ArgumentsLength, 0, 1) \ | 491 F(ArgumentsLength, 0, 1) \ |
493 F(Arguments, 1, 1) \ | 492 F(Arguments, 1, 1) \ |
494 F(ValueOf, 1, 1) \ | 493 F(ValueOf, 1, 1) \ |
495 F(SetValueOf, 2, 1) \ | 494 F(SetValueOf, 2, 1) \ |
| 495 F(DateField, 2 /* date object, field index */, 1) \ |
496 F(StringCharFromCode, 1, 1) \ | 496 F(StringCharFromCode, 1, 1) \ |
497 F(StringCharAt, 2, 1) \ | 497 F(StringCharAt, 2, 1) \ |
498 F(ObjectEquals, 2, 1) \ | 498 F(ObjectEquals, 2, 1) \ |
499 F(RandomHeapNumber, 0, 1) \ | 499 F(RandomHeapNumber, 0, 1) \ |
500 F(IsObject, 1, 1) \ | 500 F(IsObject, 1, 1) \ |
501 F(IsFunction, 1, 1) \ | 501 F(IsFunction, 1, 1) \ |
502 F(IsUndetectableObject, 1, 1) \ | 502 F(IsUndetectableObject, 1, 1) \ |
503 F(IsSpecObject, 1, 1) \ | 503 F(IsSpecObject, 1, 1) \ |
504 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | 504 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ |
505 F(MathPow, 2, 1) \ | 505 F(MathPow, 2, 1) \ |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 //--------------------------------------------------------------------------- | 698 //--------------------------------------------------------------------------- |
699 // Constants used by interface to runtime functions. | 699 // Constants used by interface to runtime functions. |
700 | 700 |
701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
704 | 704 |
705 } } // namespace v8::internal | 705 } } // namespace v8::internal |
706 | 706 |
707 #endif // V8_RUNTIME_H_ | 707 #endif // V8_RUNTIME_H_ |
OLD | NEW |