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

Side by Side Diff: src/contexts.h

Issue 2196533003: [api] Cleaning up: Replace NeanderArray with FixedArray implementation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mind the pointers Created 4 years, 4 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/heap/heap.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 js_array_fast_holey_double_elements_map_index) \ 204 js_array_fast_holey_double_elements_map_index) \
205 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \ 205 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \
206 V(JS_MAP_MAP_INDEX, Map, js_map_map) \ 206 V(JS_MAP_MAP_INDEX, Map, js_map_map) \
207 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \ 207 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \
208 V(JS_SET_MAP_INDEX, Map, js_set_map) \ 208 V(JS_SET_MAP_INDEX, Map, js_set_map) \
209 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \ 209 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \
210 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \ 210 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \
211 V(MAP_CACHE_INDEX, Object, map_cache) \ 211 V(MAP_CACHE_INDEX, Object, map_cache) \
212 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ 212 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \
213 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ 213 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \
214 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 214 V(MESSAGE_LISTENERS_INDEX, TemplateList, message_listeners) \
215 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ 215 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \
216 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ 216 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \
217 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 217 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \
218 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 218 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \
219 V(OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, object_with_null_prototype_map) \ 219 V(OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, object_with_null_prototype_map) \
220 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ 220 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \
221 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ 221 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \
222 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ 222 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \
223 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ 223 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \
224 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ 224 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 #endif 568 #endif
569 569
570 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 570 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
571 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 571 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
572 }; 572 };
573 573
574 } // namespace internal 574 } // namespace internal
575 } // namespace v8 575 } // namespace v8
576 576
577 #endif // V8_CONTEXTS_H_ 577 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698