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

Side by Side Diff: src/contexts.h

Issue 2604483002: [promises] Move PromiseHasUserDefinedRejectHandler to c++ (Closed)
Patch Set: use getdataproperty Created 3 years, 12 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 | « no previous file | src/heap-symbols.h » ('j') | src/runtime/runtime-promise.cc » ('J')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 98 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
99 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 99 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
100 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 100 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
101 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ 101 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \
102 V(FUNCTION_HAS_INSTANCE_INDEX, JSFunction, function_has_instance) \ 102 V(FUNCTION_HAS_INSTANCE_INDEX, JSFunction, function_has_instance) \
103 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ 103 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \
104 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ 104 V(OBJECT_TO_STRING, JSFunction, object_to_string) \
105 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 105 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
106 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 106 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
107 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ 107 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \
108 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \
109 promise_has_user_defined_reject_handler) \
110 V(PROMISE_DEBUG_GET_INFO_INDEX, JSFunction, promise_debug_get_info) \ 108 V(PROMISE_DEBUG_GET_INFO_INDEX, JSFunction, promise_debug_get_info) \
111 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 109 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
112 V(PROMISE_INTERNAL_REJECT_INDEX, JSFunction, promise_internal_reject) \ 110 V(PROMISE_INTERNAL_REJECT_INDEX, JSFunction, promise_internal_reject) \
113 V(PROMISE_ID_RESOLVE_HANDLER_INDEX, JSFunction, promise_id_resolve_handler) \ 111 V(PROMISE_ID_RESOLVE_HANDLER_INDEX, JSFunction, promise_id_resolve_handler) \
114 V(PROMISE_ID_REJECT_HANDLER_INDEX, JSFunction, promise_id_reject_handler) \ 112 V(PROMISE_ID_REJECT_HANDLER_INDEX, JSFunction, promise_id_reject_handler) \
115 V(NEW_PROMISE_CAPABILITY_INDEX, JSFunction, new_promise_capability) \ 113 V(NEW_PROMISE_CAPABILITY_INDEX, JSFunction, new_promise_capability) \
116 V(INTERNAL_PROMISE_CAPABILITY_INDEX, JSFunction, \ 114 V(INTERNAL_PROMISE_CAPABILITY_INDEX, JSFunction, \
117 internal_promise_capability) \ 115 internal_promise_capability) \
118 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ 116 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \
119 V(REJECT_PROMISE_NO_DEBUG_EVENT_INDEX, JSFunction, \ 117 V(REJECT_PROMISE_NO_DEBUG_EVENT_INDEX, JSFunction, \
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 693 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
696 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 694 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
697 }; 695 };
698 696
699 typedef Context::Field ContextField; 697 typedef Context::Field ContextField;
700 698
701 } // namespace internal 699 } // namespace internal
702 } // namespace v8 700 } // namespace v8
703 701
704 #endif // V8_CONTEXTS_H_ 702 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap-symbols.h » ('j') | src/runtime/runtime-promise.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698