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

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: disable opt too to fix test variants ._< 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 5752 matching lines...) Expand 10 before | Expand all | Expand 10 after
5763 name_should_print_as_anonymous, 5763 name_should_print_as_anonymous,
5764 kNameShouldPrintAsAnonymous) 5764 kNameShouldPrintAsAnonymous)
5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, 5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression,
5766 kIsAnonymousExpression) 5766 kIsAnonymousExpression)
5767 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5767 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, 5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft,
5769 kDontCrankshaft) 5769 kDontCrankshaft)
5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5771 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) 5771 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5772 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5772 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5773 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_async, kIsAsyncFunction)
5773 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, 5774 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method,
5774 kIsConciseMethod) 5775 kIsConciseMethod)
5775 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function, 5776 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function,
5776 kIsGetterFunction) 5777 kIsGetterFunction)
5777 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function, 5778 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function,
5778 kIsSetterFunction) 5779 kIsSetterFunction)
5779 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, 5780 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
5780 kIsDefaultConstructor) 5781 kIsDefaultConstructor)
5781 5782
5782 bool Script::HasValidSource() { 5783 bool Script::HasValidSource() {
(...skipping 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after
7826 #undef WRITE_INT64_FIELD 7827 #undef WRITE_INT64_FIELD
7827 #undef READ_BYTE_FIELD 7828 #undef READ_BYTE_FIELD
7828 #undef WRITE_BYTE_FIELD 7829 #undef WRITE_BYTE_FIELD
7829 #undef NOBARRIER_READ_BYTE_FIELD 7830 #undef NOBARRIER_READ_BYTE_FIELD
7830 #undef NOBARRIER_WRITE_BYTE_FIELD 7831 #undef NOBARRIER_WRITE_BYTE_FIELD
7831 7832
7832 } // namespace internal 7833 } // namespace internal
7833 } // namespace v8 7834 } // namespace v8
7834 7835
7835 #endif // V8_OBJECTS_INL_H_ 7836 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/builtins.cc ('K') | « src/objects.cc ('k') | src/parsing/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698