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

Side by Side Diff: src/runtime/runtime.h

Issue 2313393005: [builtins] Move StringLocaleCompare to a builtin. (Closed)
Patch Set: Change dcheck to dcheck_eq Created 4 years, 3 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
« no previous file with comments | « src/js/string.js ('k') | src/runtime/runtime-strings.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 F(Bool8x16AllTrue, 1, 1) \ 791 F(Bool8x16AllTrue, 1, 1) \
792 F(Bool8x16Swizzle, 17, 1) \ 792 F(Bool8x16Swizzle, 17, 1) \
793 F(Bool8x16Shuffle, 18, 1) \ 793 F(Bool8x16Shuffle, 18, 1) \
794 F(Bool8x16Equal, 2, 1) \ 794 F(Bool8x16Equal, 2, 1) \
795 F(Bool8x16NotEqual, 2, 1) 795 F(Bool8x16NotEqual, 2, 1)
796 796
797 #define FOR_EACH_INTRINSIC_STRINGS(F) \ 797 #define FOR_EACH_INTRINSIC_STRINGS(F) \
798 F(StringReplaceOneCharWithString, 3, 1) \ 798 F(StringReplaceOneCharWithString, 3, 1) \
799 F(StringIndexOf, 3, 1) \ 799 F(StringIndexOf, 3, 1) \
800 F(StringLastIndexOf, 3, 1) \ 800 F(StringLastIndexOf, 3, 1) \
801 F(StringLocaleCompare, 2, 1) \
802 F(SubString, 3, 1) \ 801 F(SubString, 3, 1) \
803 F(StringAdd, 2, 1) \ 802 F(StringAdd, 2, 1) \
804 F(InternalizeString, 1, 1) \ 803 F(InternalizeString, 1, 1) \
805 F(StringMatch, 3, 1) \ 804 F(StringMatch, 3, 1) \
806 F(StringCharCodeAtRT, 2, 1) \ 805 F(StringCharCodeAtRT, 2, 1) \
807 F(StringCompare, 2, 1) \ 806 F(StringCompare, 2, 1) \
808 F(StringBuilderConcat, 3, 1) \ 807 F(StringBuilderConcat, 3, 1) \
809 F(StringBuilderJoin, 3, 1) \ 808 F(StringBuilderJoin, 3, 1) \
810 F(SparseJoinWithSeparator, 3, 1) \ 809 F(SparseJoinWithSeparator, 3, 1) \
811 F(StringToArray, 2, 1) \ 810 F(StringToArray, 2, 1) \
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 1122
1124 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1123 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1125 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1124 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1126 STATIC_ASSERT(LANGUAGE_END == 2); 1125 STATIC_ASSERT(LANGUAGE_END == 2);
1127 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1126 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1128 1127
1129 } // namespace internal 1128 } // namespace internal
1130 } // namespace v8 1129 } // namespace v8
1131 1130
1132 #endif // V8_RUNTIME_RUNTIME_H_ 1131 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/string.js ('k') | src/runtime/runtime-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698