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

Side by Side Diff: src/contexts.h

Issue 1415663002: Revert "[api] expose Array Iterators to API" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/api.cc ('k') | src/js/array-iterator.js » ('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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 100
101 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 101 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
102 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 102 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
103 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 103 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
104 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 104 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
105 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 105 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
106 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 106 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
107 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 107 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
108 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 108 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
109 V(ARRAY_KEYS_ITERATOR_INDEX, JSFunction, array_keys_iterator) \
110 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ 109 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \
111 V(ARRAY_ENTRIES_ITERATOR_INDEX, JSFunction, array_entries_iterator) \
112 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \ 110 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \
113 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 111 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
114 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ 112 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \
115 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ 113 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \
116 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 114 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
117 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 115 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
118 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 116 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
119 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 117 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
120 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ 118 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \
121 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ 119 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 #endif 554 #endif
557 555
558 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 556 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
559 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 557 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
560 }; 558 };
561 559
562 } // namespace internal 560 } // namespace internal
563 } // namespace v8 561 } // namespace v8
564 562
565 #endif // V8_CONTEXTS_H_ 563 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/js/array-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698