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

Side by Side Diff: src/contexts.h

Issue 2643023002: [async-await] Move remaining async-await code to TF (Closed)
Patch Set: Created 3 years, 11 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
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #define NATIVE_CONTEXT_FIELDS(V) \ 189 #define NATIVE_CONTEXT_FIELDS(V) \
190 V(GLOBAL_PROXY_INDEX, JSObject, global_proxy_object) \ 190 V(GLOBAL_PROXY_INDEX, JSObject, global_proxy_object) \
191 V(EMBEDDER_DATA_INDEX, FixedArray, embedder_data) \ 191 V(EMBEDDER_DATA_INDEX, FixedArray, embedder_data) \
192 /* Below is alpha-sorted */ \ 192 /* Below is alpha-sorted */ \
193 V(ACCESSOR_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, \ 193 V(ACCESSOR_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, \
194 accessor_property_descriptor_map) \ 194 accessor_property_descriptor_map) \
195 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \ 195 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \
196 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ 196 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \
197 V(ARRAY_BUFFER_MAP_INDEX, Map, array_buffer_map) \ 197 V(ARRAY_BUFFER_MAP_INDEX, Map, array_buffer_map) \
198 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \ 198 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \
199 V(ASYNC_FUNCTION_AWAIT_REJECT_SHARED_FUN, SharedFunctionInfo, \
200 async_function_await_reject_shared_fun) \
201 V(ASYNC_FUNCTION_AWAIT_RESOLVE_SHARED_FUN, SharedFunctionInfo, \
202 async_function_await_resolve_shared_fun) \
199 V(ASYNC_FUNCTION_FUNCTION_INDEX, JSFunction, async_function_constructor) \ 203 V(ASYNC_FUNCTION_FUNCTION_INDEX, JSFunction, async_function_constructor) \
200 V(BOOL16X8_FUNCTION_INDEX, JSFunction, bool16x8_function) \ 204 V(BOOL16X8_FUNCTION_INDEX, JSFunction, bool16x8_function) \
201 V(BOOL32X4_FUNCTION_INDEX, JSFunction, bool32x4_function) \ 205 V(BOOL32X4_FUNCTION_INDEX, JSFunction, bool32x4_function) \
202 V(BOOL8X16_FUNCTION_INDEX, JSFunction, bool8x16_function) \ 206 V(BOOL8X16_FUNCTION_INDEX, JSFunction, bool8x16_function) \
203 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \ 207 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \
204 V(BOUND_FUNCTION_WITH_CONSTRUCTOR_MAP_INDEX, Map, \ 208 V(BOUND_FUNCTION_WITH_CONSTRUCTOR_MAP_INDEX, Map, \
205 bound_function_with_constructor_map) \ 209 bound_function_with_constructor_map) \
206 V(BOUND_FUNCTION_WITHOUT_CONSTRUCTOR_MAP_INDEX, Map, \ 210 V(BOUND_FUNCTION_WITHOUT_CONSTRUCTOR_MAP_INDEX, Map, \
207 bound_function_without_constructor_map) \ 211 bound_function_without_constructor_map) \
208 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ 212 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 693 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
690 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 694 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
691 }; 695 };
692 696
693 typedef Context::Field ContextField; 697 typedef Context::Field ContextField;
694 698
695 } // namespace internal 699 } // namespace internal
696 } // namespace v8 700 } // namespace v8
697 701
698 #endif // V8_CONTEXTS_H_ 702 #endif // V8_CONTEXTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698