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

Side by Side Diff: src/runtime.h

Issue 68133016: Implements ES6 String.prototype.normalize method. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Implemented review feedback: CHECK_OBJECT_COERCIBLE macro to check for null/undefined. Created 6 years, 10 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
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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 \ 561 \
562 /* Number format and parse. */ \ 562 /* Number format and parse. */ \
563 F(CreateNumberFormat, 3, 1) \ 563 F(CreateNumberFormat, 3, 1) \
564 F(InternalNumberFormat, 2, 1) \ 564 F(InternalNumberFormat, 2, 1) \
565 F(InternalNumberParse, 2, 1) \ 565 F(InternalNumberParse, 2, 1) \
566 \ 566 \
567 /* Collator. */ \ 567 /* Collator. */ \
568 F(CreateCollator, 3, 1) \ 568 F(CreateCollator, 3, 1) \
569 F(InternalCompare, 3, 1) \ 569 F(InternalCompare, 3, 1) \
570 \ 570 \
571 /* String.prototype.normalize. */ \
572 F(StringNormalize, 2, 1) \
573 \
571 /* Break iterator. */ \ 574 /* Break iterator. */ \
572 F(CreateBreakIterator, 3, 1) \ 575 F(CreateBreakIterator, 3, 1) \
573 F(BreakIteratorAdoptText, 2, 1) \ 576 F(BreakIteratorAdoptText, 2, 1) \
574 F(BreakIteratorFirst, 1, 1) \ 577 F(BreakIteratorFirst, 1, 1) \
575 F(BreakIteratorNext, 1, 1) \ 578 F(BreakIteratorNext, 1, 1) \
576 F(BreakIteratorCurrent, 1, 1) \ 579 F(BreakIteratorCurrent, 1, 1) \
577 F(BreakIteratorBreakType, 1, 1) \ 580 F(BreakIteratorBreakType, 1, 1) \
578 581
579 #else 582 #else
580 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) 583 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 865 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
863 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 866 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
864 867
865 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 868 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 869 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
867 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 870 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
868 871
869 } } // namespace v8::internal 872 } } // namespace v8::internal
870 873
871 #endif // V8_RUNTIME_H_ 874 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698