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

Side by Side Diff: src/contexts.h

Issue 2601833002: [intl] Remove indirection in Intl objects (Closed)
Patch Set: Fix a dcheck Created 3 years, 11 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/bootstrapper.cc ('k') | src/global-handles.h » ('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_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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \ 242 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \
243 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 243 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
244 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 244 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
245 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ 245 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
246 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 246 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
247 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ 247 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
248 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 248 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
249 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ 249 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
250 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 250 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
251 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 251 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
252 V(INTL_DATE_TIME_FORMAT_FUNCTION_INDEX, JSFunction, \
253 intl_date_time_format_function) \
254 V(INTL_NUMBER_FORMAT_FUNCTION_INDEX, JSFunction, \
255 intl_number_format_function) \
256 V(INTL_COLLATOR_FUNCTION_INDEX, JSFunction, intl_collator_function) \
257 V(INTL_V8_BREAK_ITERATOR_FUNCTION_INDEX, JSFunction, \
258 intl_v8_break_iterator_function) \
252 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \ 259 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \
253 js_array_fast_smi_elements_map_index) \ 260 js_array_fast_smi_elements_map_index) \
254 V(JS_ARRAY_FAST_HOLEY_SMI_ELEMENTS_MAP_INDEX, Map, \ 261 V(JS_ARRAY_FAST_HOLEY_SMI_ELEMENTS_MAP_INDEX, Map, \
255 js_array_fast_holey_smi_elements_map_index) \ 262 js_array_fast_holey_smi_elements_map_index) \
256 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \ 263 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \
257 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \ 264 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \
258 js_array_fast_holey_elements_map_index) \ 265 js_array_fast_holey_elements_map_index) \
259 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \ 266 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \
260 js_array_fast_double_elements_map_index) \ 267 js_array_fast_double_elements_map_index) \
261 V(JS_ARRAY_FAST_HOLEY_DOUBLE_ELEMENTS_MAP_INDEX, Map, \ 268 V(JS_ARRAY_FAST_HOLEY_DOUBLE_ELEMENTS_MAP_INDEX, Map, \
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 693 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
687 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 694 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
688 }; 695 };
689 696
690 typedef Context::Field ContextField; 697 typedef Context::Field ContextField;
691 698
692 } // namespace internal 699 } // namespace internal
693 } // namespace v8 700 } // namespace v8
694 701
695 #endif // V8_CONTEXTS_H_ 702 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/global-handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698