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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 | 537 |
538 #ifdef V8_I18N_SUPPORT | 538 #ifdef V8_I18N_SUPPORT |
539 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ | 539 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ |
540 /* i18n support */ \ | 540 /* i18n support */ \ |
541 /* Standalone, helper methods. */ \ | 541 /* Standalone, helper methods. */ \ |
542 F(CanonicalizeLanguageTag, 1, 1) \ | 542 F(CanonicalizeLanguageTag, 1, 1) \ |
543 F(AvailableLocalesOf, 1, 1) \ | 543 F(AvailableLocalesOf, 1, 1) \ |
544 F(GetDefaultICULocale, 0, 1) \ | 544 F(GetDefaultICULocale, 0, 1) \ |
545 F(GetLanguageTagVariants, 1, 1) \ | 545 F(GetLanguageTagVariants, 1, 1) \ |
| 546 \ |
| 547 /* Date format and parse. */ \ |
| 548 F(CreateDateTimeFormat, 3, 1) \ |
| 549 F(InternalDateFormat, 2, 1) \ |
| 550 F(InternalDateParse, 2, 1) \ |
546 | 551 |
547 #else | 552 #else |
548 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) | 553 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) |
549 #endif | 554 #endif |
550 | 555 |
551 | 556 |
552 #ifdef DEBUG | 557 #ifdef DEBUG |
553 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 558 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
554 /* Testing */ \ | 559 /* Testing */ \ |
555 F(ListNatives, 0, 1) | 560 F(ListNatives, 0, 1) |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 //--------------------------------------------------------------------------- | 827 //--------------------------------------------------------------------------- |
823 // Constants used by interface to runtime functions. | 828 // Constants used by interface to runtime functions. |
824 | 829 |
825 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 830 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
826 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 831 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
827 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 832 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
828 | 833 |
829 } } // namespace v8::internal | 834 } } // namespace v8::internal |
830 | 835 |
831 #endif // V8_RUNTIME_H_ | 836 #endif // V8_RUNTIME_H_ |
OLD | NEW |