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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 \ | 546 \ |
547 /* Date format and parse. */ \ | 547 /* Date format and parse. */ \ |
548 F(CreateDateTimeFormat, 3, 1) \ | 548 F(CreateDateTimeFormat, 3, 1) \ |
549 F(InternalDateFormat, 2, 1) \ | 549 F(InternalDateFormat, 2, 1) \ |
550 F(InternalDateParse, 2, 1) \ | 550 F(InternalDateParse, 2, 1) \ |
551 \ | 551 \ |
552 /* Number format and parse. */ \ | 552 /* Number format and parse. */ \ |
553 F(CreateNumberFormat, 3, 1) \ | 553 F(CreateNumberFormat, 3, 1) \ |
554 F(InternalNumberFormat, 2, 1) \ | 554 F(InternalNumberFormat, 2, 1) \ |
555 F(InternalNumberParse, 2, 1) \ | 555 F(InternalNumberParse, 2, 1) \ |
| 556 \ |
| 557 /* Collator. */ \ |
| 558 F(CreateCollator, 3, 1) \ |
| 559 F(InternalCompare, 3, 1) \ |
556 | 560 |
557 #else | 561 #else |
558 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) | 562 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) |
559 #endif | 563 #endif |
560 | 564 |
561 | 565 |
562 #ifdef DEBUG | 566 #ifdef DEBUG |
563 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 567 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
564 /* Testing */ \ | 568 /* Testing */ \ |
565 F(ListNatives, 0, 1) | 569 F(ListNatives, 0, 1) |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 //--------------------------------------------------------------------------- | 836 //--------------------------------------------------------------------------- |
833 // Constants used by interface to runtime functions. | 837 // Constants used by interface to runtime functions. |
834 | 838 |
835 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 839 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
836 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 840 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
837 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 841 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
838 | 842 |
839 } } // namespace v8::internal | 843 } } // namespace v8::internal |
840 | 844 |
841 #endif // V8_RUNTIME_H_ | 845 #endif // V8_RUNTIME_H_ |
OLD | NEW |