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