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

Side by Side Diff: src/contexts.h

Issue 1302173007: [es6] Introduce a dedicated JSIteratorResult type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/collection-iterator.js ('k') | src/factory.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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 240 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
241 V(JS_ARRAY_MAPS_INDEX, Object, js_array_maps) \ 241 V(JS_ARRAY_MAPS_INDEX, Object, js_array_maps) \
242 V(JS_ARRAY_STRONG_MAPS_INDEX, Object, js_array_strong_maps) \ 242 V(JS_ARRAY_STRONG_MAPS_INDEX, Object, js_array_strong_maps) \
243 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \ 243 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \
244 V(JS_MAP_MAP_INDEX, Map, js_map_map) \ 244 V(JS_MAP_MAP_INDEX, Map, js_map_map) \
245 V(JS_OBJECT_STRONG_MAP_INDEX, Map, js_object_strong_map) \ 245 V(JS_OBJECT_STRONG_MAP_INDEX, Map, js_object_strong_map) \
246 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \ 246 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \
247 V(JS_SET_MAP_INDEX, Map, js_set_map) \ 247 V(JS_SET_MAP_INDEX, Map, js_set_map) \
248 V(MAP_CACHE_INDEX, Object, map_cache) \ 248 V(MAP_CACHE_INDEX, Object, map_cache) \
249 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ 249 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \
250 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \
250 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 251 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
251 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ 252 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \
252 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ 253 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \
253 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 254 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \
254 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 255 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \
255 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ 256 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \
256 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 257 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \
257 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ 258 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \
258 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 259 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
259 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ 260 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 586 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
586 #endif 587 #endif
587 588
588 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 589 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
589 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 590 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
590 }; 591 };
591 592
592 } } // namespace v8::internal 593 } } // namespace v8::internal
593 594
594 #endif // V8_CONTEXTS_H_ 595 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/collection-iterator.js ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698