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

Side by Side Diff: src/contexts.h

Issue 1134193002: Provide accessor for object internal properties that doesn't require debugger to be active (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed gcmole failures Created 5 years, 7 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/mirror-debugger.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 call_as_constructor_delegate) \ 150 call_as_constructor_delegate) \
151 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ 151 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \
152 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ 152 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \
153 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ 153 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \
154 V(MAP_CACHE_INDEX, Object, map_cache) \ 154 V(MAP_CACHE_INDEX, Object, map_cache) \
155 V(EMBEDDER_DATA_INDEX, FixedArray, embedder_data) \ 155 V(EMBEDDER_DATA_INDEX, FixedArray, embedder_data) \
156 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \ 156 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \
157 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ 157 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \
158 error_message_for_code_gen_from_strings) \ 158 error_message_for_code_gen_from_strings) \
159 V(PROMISE_STATUS_INDEX, Symbol, promise_status) \ 159 V(PROMISE_STATUS_INDEX, Symbol, promise_status) \
160 V(PROMISE_VALUE_INDEX, Symbol, promise_value) \
160 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 161 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
161 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ 162 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \
162 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 163 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
163 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ 164 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \
164 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 165 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
165 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ 166 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \
166 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ 167 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \
167 to_complete_property_descriptor) \ 168 to_complete_property_descriptor) \
168 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ 169 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \
169 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 170 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 SCRIPT_FUNCTION_INDEX, 388 SCRIPT_FUNCTION_INDEX,
388 OPAQUE_REFERENCE_FUNCTION_INDEX, 389 OPAQUE_REFERENCE_FUNCTION_INDEX,
389 CONTEXT_EXTENSION_FUNCTION_INDEX, 390 CONTEXT_EXTENSION_FUNCTION_INDEX,
390 OUT_OF_MEMORY_INDEX, 391 OUT_OF_MEMORY_INDEX,
391 EMBEDDER_DATA_INDEX, 392 EMBEDDER_DATA_INDEX,
392 ALLOW_CODE_GEN_FROM_STRINGS_INDEX, 393 ALLOW_CODE_GEN_FROM_STRINGS_INDEX,
393 ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, 394 ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX,
394 RUN_MICROTASKS_INDEX, 395 RUN_MICROTASKS_INDEX,
395 ENQUEUE_MICROTASK_INDEX, 396 ENQUEUE_MICROTASK_INDEX,
396 PROMISE_STATUS_INDEX, 397 PROMISE_STATUS_INDEX,
398 PROMISE_VALUE_INDEX,
397 PROMISE_CREATE_INDEX, 399 PROMISE_CREATE_INDEX,
398 PROMISE_RESOLVE_INDEX, 400 PROMISE_RESOLVE_INDEX,
399 PROMISE_REJECT_INDEX, 401 PROMISE_REJECT_INDEX,
400 PROMISE_CHAIN_INDEX, 402 PROMISE_CHAIN_INDEX,
401 PROMISE_CATCH_INDEX, 403 PROMISE_CATCH_INDEX,
402 PROMISE_THEN_INDEX, 404 PROMISE_THEN_INDEX,
403 TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, 405 TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX,
404 DERIVED_HAS_TRAP_INDEX, 406 DERIVED_HAS_TRAP_INDEX,
405 DERIVED_GET_TRAP_INDEX, 407 DERIVED_GET_TRAP_INDEX,
406 DERIVED_SET_TRAP_INDEX, 408 DERIVED_SET_TRAP_INDEX,
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 626 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
625 #endif 627 #endif
626 628
627 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 629 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
628 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 630 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
629 }; 631 };
630 632
631 } } // namespace v8::internal 633 } } // namespace v8::internal
632 634
633 #endif // V8_CONTEXTS_H_ 635 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/mirror-debugger.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698