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

Side by Side Diff: src/contexts.h

Issue 2736543002: [intl] Implement Intl.PluralRules
Patch Set: clarify comment Created 3 years, 9 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_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 245 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
246 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 246 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
247 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 247 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
248 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 248 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
249 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 249 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
250 V(INTL_DATE_TIME_FORMAT_FUNCTION_INDEX, JSFunction, \ 250 V(INTL_DATE_TIME_FORMAT_FUNCTION_INDEX, JSFunction, \
251 intl_date_time_format_function) \ 251 intl_date_time_format_function) \
252 V(INTL_NUMBER_FORMAT_FUNCTION_INDEX, JSFunction, \ 252 V(INTL_NUMBER_FORMAT_FUNCTION_INDEX, JSFunction, \
253 intl_number_format_function) \ 253 intl_number_format_function) \
254 V(INTL_COLLATOR_FUNCTION_INDEX, JSFunction, intl_collator_function) \ 254 V(INTL_COLLATOR_FUNCTION_INDEX, JSFunction, intl_collator_function) \
255 V(INTL_PLURAL_RULES_FUNCTION_INDEX, JSFunction, intl_plural_rules_function) \
255 V(INTL_V8_BREAK_ITERATOR_FUNCTION_INDEX, JSFunction, \ 256 V(INTL_V8_BREAK_ITERATOR_FUNCTION_INDEX, JSFunction, \
256 intl_v8_break_iterator_function) \ 257 intl_v8_break_iterator_function) \
257 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \ 258 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \
258 js_array_fast_smi_elements_map_index) \ 259 js_array_fast_smi_elements_map_index) \
259 V(JS_ARRAY_FAST_HOLEY_SMI_ELEMENTS_MAP_INDEX, Map, \ 260 V(JS_ARRAY_FAST_HOLEY_SMI_ELEMENTS_MAP_INDEX, Map, \
260 js_array_fast_holey_smi_elements_map_index) \ 261 js_array_fast_holey_smi_elements_map_index) \
261 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \ 262 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \
262 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \ 263 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \
263 js_array_fast_holey_elements_map_index) \ 264 js_array_fast_holey_elements_map_index) \
264 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \ 265 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 698 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
698 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 699 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
699 }; 700 };
700 701
701 typedef Context::Field ContextField; 702 typedef Context::Field ContextField;
702 703
703 } // namespace internal 704 } // namespace internal
704 } // namespace v8 705 } // namespace v8
705 706
706 #endif // V8_CONTEXTS_H_ 707 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/flag-definitions.h » ('j') | src/i18n.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698