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

Side by Side Diff: src/contexts.h

Issue 1275683002: Rename "extras exports" to "extras binding" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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') | test/cctest/test-api.cc » ('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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ 194 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \
195 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ 195 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \
196 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ 196 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \
197 V(MAP_FROM_ARRAY_INDEX, JSFunction, map_from_array) \ 197 V(MAP_FROM_ARRAY_INDEX, JSFunction, map_from_array) \
198 V(SET_FROM_ARRAY_INDEX, JSFunction, set_from_array) \ 198 V(SET_FROM_ARRAY_INDEX, JSFunction, set_from_array) \
199 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ 199 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \
200 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \ 200 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \
201 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ 201 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \
202 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ 202 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \
203 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ 203 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \
204 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_exports_object) 204 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_binding_object)
205 205
206 206
207 // A table of all script contexts. Every loaded top-level script with top-level 207 // A table of all script contexts. Every loaded top-level script with top-level
208 // lexical declarations contributes its ScriptContext into this table. 208 // lexical declarations contributes its ScriptContext into this table.
209 // 209 //
210 // The table is a fixed array, its first slot is the current used count and 210 // The table is a fixed array, its first slot is the current used count and
211 // the subsequent slots 1..used contain ScriptContexts. 211 // the subsequent slots 1..used contain ScriptContexts.
212 class ScriptContextTable : public FixedArray { 212 class ScriptContextTable : public FixedArray {
213 public: 213 public:
214 // Conversions. 214 // Conversions.
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 669 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
670 #endif 670 #endif
671 671
672 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 672 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
673 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 673 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
674 }; 674 };
675 675
676 } } // namespace v8::internal 676 } } // namespace v8::internal
677 677
678 #endif // V8_CONTEXTS_H_ 678 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698