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

Side by Side Diff: src/contexts.h

Issue 1293493004: Unify symbols sharing across native scripts and runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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/collection.js ('k') | src/debug/mirrors.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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ 153 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \
154 error_message_for_code_gen_from_strings) \ 154 error_message_for_code_gen_from_strings) \
155 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 155 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
156 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 156 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
157 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ 157 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \
158 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ 158 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \
159 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ 159 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \
160 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ 160 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \
161 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \ 161 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \
162 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ 162 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \
163 V(PROMISE_STATUS_INDEX, Symbol, promise_status) \
164 V(PROMISE_VALUE_INDEX, Symbol, promise_value) \
165 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 163 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
166 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ 164 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \
167 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 165 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
168 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ 166 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \
169 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 167 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
170 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ 168 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \
171 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ 169 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \
172 promise_has_user_defined_reject_handler) \ 170 promise_has_user_defined_reject_handler) \
173 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ 171 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \
174 to_complete_property_descriptor) \ 172 to_complete_property_descriptor) \
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 549 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
552 #endif 550 #endif
553 551
554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 552 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 553 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
556 }; 554 };
557 555
558 } } // namespace v8::internal 556 } } // namespace v8::internal
559 557
560 #endif // V8_CONTEXTS_H_ 558 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/collection.js ('k') | src/debug/mirrors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698