Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/runtime.h

Issue 22764007: Move i18n break iterator C++ code to runtime (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/i18n.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 \ 556 \
557 /* Collator. */ \ 557 /* Collator. */ \
558 F(CreateCollator, 3, 1) \ 558 F(CreateCollator, 3, 1) \
559 F(InternalCompare, 3, 1) \ 559 F(InternalCompare, 3, 1) \
560 \
561 /* Break iterator. */ \
562 F(CreateBreakIterator, 3, 1) \
563 F(BreakIteratorAdoptText, 2, 1) \
564 F(BreakIteratorFirst, 1, 1) \
565 F(BreakIteratorNext, 1, 1) \
566 F(BreakIteratorCurrent, 1, 1) \
567 F(BreakIteratorBreakType, 1, 1) \
560 568
561 #else 569 #else
562 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) 570 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
563 #endif 571 #endif
564 572
565 573
566 #ifdef DEBUG 574 #ifdef DEBUG
567 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ 575 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \
568 /* Testing */ \ 576 /* Testing */ \
569 F(ListNatives, 0, 1) 577 F(ListNatives, 0, 1)
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 //--------------------------------------------------------------------------- 844 //---------------------------------------------------------------------------
837 // Constants used by interface to runtime functions. 845 // Constants used by interface to runtime functions.
838 846
839 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
840 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
841 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
842 850
843 } } // namespace v8::internal 851 } } // namespace v8::internal
844 852
845 #endif // V8_RUNTIME_H_ 853 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/i18n.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698