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

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

Issue 1812673005: Use ICU case conversion/transliterator for case conversion behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: a bit more tweak with buffer extraction Created 4 years, 7 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 // 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 F(InternalNumberFormat, 2, 1) \ 252 F(InternalNumberFormat, 2, 1) \
253 F(InternalNumberParse, 2, 1) \ 253 F(InternalNumberParse, 2, 1) \
254 F(CreateCollator, 3, 1) \ 254 F(CreateCollator, 3, 1) \
255 F(InternalCompare, 3, 1) \ 255 F(InternalCompare, 3, 1) \
256 F(StringNormalize, 2, 1) \ 256 F(StringNormalize, 2, 1) \
257 F(CreateBreakIterator, 3, 1) \ 257 F(CreateBreakIterator, 3, 1) \
258 F(BreakIteratorAdoptText, 2, 1) \ 258 F(BreakIteratorAdoptText, 2, 1) \
259 F(BreakIteratorFirst, 1, 1) \ 259 F(BreakIteratorFirst, 1, 1) \
260 F(BreakIteratorNext, 1, 1) \ 260 F(BreakIteratorNext, 1, 1) \
261 F(BreakIteratorCurrent, 1, 1) \ 261 F(BreakIteratorCurrent, 1, 1) \
262 F(BreakIteratorBreakType, 1, 1) 262 F(BreakIteratorBreakType, 1, 1) \
263 F(StringToLowerCaseI18N, 1, 1) \
264 F(StringToUpperCaseI18N, 1, 1) \
265 F(StringLocaleConvertCase, 3, 1)
263 #else 266 #else
264 #define FOR_EACH_INTRINSIC_I18N(F) 267 #define FOR_EACH_INTRINSIC_I18N(F)
265 #endif 268 #endif
266 269
267 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 270 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
268 F(CheckIsBootstrapping, 0, 1) \ 271 F(CheckIsBootstrapping, 0, 1) \
269 F(ExportFromRuntime, 1, 1) \ 272 F(ExportFromRuntime, 1, 1) \
270 F(ExportExperimentalFromRuntime, 1, 1) \ 273 F(ExportExperimentalFromRuntime, 1, 1) \
271 F(InstallToContext, 1, 1) \ 274 F(InstallToContext, 1, 1) \
272 F(Throw, 1, 1) \ 275 F(Throw, 1, 1) \
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 1165
1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1166 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1167 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1165 STATIC_ASSERT(LANGUAGE_END == 3); 1168 STATIC_ASSERT(LANGUAGE_END == 3);
1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1169 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1167 1170
1168 } // namespace internal 1171 } // namespace internal
1169 } // namespace v8 1172 } // namespace v8
1170 1173
1171 #endif // V8_RUNTIME_RUNTIME_H_ 1174 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime-i18n.cc » ('j') | src/runtime/runtime-i18n.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698