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

Side by Side Diff: src/contexts.h

Issue 1297803003: Revert of Remove property loads from js builtins objects from runtime. (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') | src/heap/heap.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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 165 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
166 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ 166 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \
167 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 167 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
168 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ 168 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \
169 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 169 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
170 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ 170 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \
171 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ 171 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \
172 promise_has_user_defined_reject_handler) \ 172 promise_has_user_defined_reject_handler) \
173 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ 173 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \
174 to_complete_property_descriptor) \ 174 to_complete_property_descriptor) \
175 V(OBJECT_DEFINE_OWN_PROPERTY_INDEX, JSFunction, object_define_own_property) \
176 V(OBJECT_GET_OWN_PROPERTY_DESCROPTOR_INDEX, JSFunction, \
177 object_get_own_property_descriptor) \
178 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \
179 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \
180 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \
181 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \
182 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ 175 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \
183 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ 176 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \
184 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 177 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
185 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ 178 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \
186 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ 179 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \
187 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ 180 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \
188 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ 181 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \
189 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \ 182 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \
190 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \ 183 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \
191 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ 184 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 544 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
552 #endif 545 #endif
553 546
554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 547 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 548 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
556 }; 549 };
557 550
558 } } // namespace v8::internal 551 } } // namespace v8::internal
559 552
560 #endif // V8_CONTEXTS_H_ 553 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698