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

Side by Side Diff: src/objects-inl.h

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: properly rebase Created 4 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
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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 5768 matching lines...) Expand 10 before | Expand all | Expand 10 after
5779 name_should_print_as_anonymous, 5779 name_should_print_as_anonymous,
5780 kNameShouldPrintAsAnonymous) 5780 kNameShouldPrintAsAnonymous)
5781 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, 5781 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression,
5782 kIsAnonymousExpression) 5782 kIsAnonymousExpression)
5783 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5783 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5784 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, 5784 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft,
5785 kDontCrankshaft) 5785 kDontCrankshaft)
5786 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5786 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5787 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) 5787 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5788 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5788 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5789 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_async, kIsAsyncFunction)
5789 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, 5790 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method,
5790 kIsConciseMethod) 5791 kIsConciseMethod)
5791 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function, 5792 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function,
5792 kIsGetterFunction) 5793 kIsGetterFunction)
5793 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function, 5794 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function,
5794 kIsSetterFunction) 5795 kIsSetterFunction)
5795 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, 5796 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
5796 kIsDefaultConstructor) 5797 kIsDefaultConstructor)
5797 5798
5798 bool Script::HasValidSource() { 5799 bool Script::HasValidSource() {
(...skipping 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after
7846 #undef WRITE_INT64_FIELD 7847 #undef WRITE_INT64_FIELD
7847 #undef READ_BYTE_FIELD 7848 #undef READ_BYTE_FIELD
7848 #undef WRITE_BYTE_FIELD 7849 #undef WRITE_BYTE_FIELD
7849 #undef NOBARRIER_READ_BYTE_FIELD 7850 #undef NOBARRIER_READ_BYTE_FIELD
7850 #undef NOBARRIER_WRITE_BYTE_FIELD 7851 #undef NOBARRIER_WRITE_BYTE_FIELD
7851 7852
7852 } // namespace internal 7853 } // namespace internal
7853 } // namespace v8 7854 } // namespace v8
7854 7855
7855 #endif // V8_OBJECTS_INL_H_ 7856 #endif // V8_OBJECTS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698