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

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: Partially fix `throw` completions (resumption works, but no resumption doesn't) Created 4 years, 8 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 5750 matching lines...) Expand 10 before | Expand all | Expand 10 after
5761 name_should_print_as_anonymous, 5761 name_should_print_as_anonymous,
5762 kNameShouldPrintAsAnonymous) 5762 kNameShouldPrintAsAnonymous)
5763 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, 5763 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression,
5764 kIsAnonymousExpression) 5764 kIsAnonymousExpression)
5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5766 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, 5766 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft,
5767 kDontCrankshaft) 5767 kDontCrankshaft)
5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5769 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) 5769 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5771 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_async, kIsAsyncFunction)
5771 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, 5772 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method,
5772 kIsConciseMethod) 5773 kIsConciseMethod)
5773 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function, 5774 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function,
5774 kIsGetterFunction) 5775 kIsGetterFunction)
5775 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function, 5776 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function,
5776 kIsSetterFunction) 5777 kIsSetterFunction)
5777 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, 5778 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
5778 kIsDefaultConstructor) 5779 kIsDefaultConstructor)
5779 5780
5780 bool Script::HasValidSource() { 5781 bool Script::HasValidSource() {
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
7807 #undef WRITE_INT64_FIELD 7808 #undef WRITE_INT64_FIELD
7808 #undef READ_BYTE_FIELD 7809 #undef READ_BYTE_FIELD
7809 #undef WRITE_BYTE_FIELD 7810 #undef WRITE_BYTE_FIELD
7810 #undef NOBARRIER_READ_BYTE_FIELD 7811 #undef NOBARRIER_READ_BYTE_FIELD
7811 #undef NOBARRIER_WRITE_BYTE_FIELD 7812 #undef NOBARRIER_WRITE_BYTE_FIELD
7812 7813
7813 } // namespace internal 7814 } // namespace internal
7814 } // namespace v8 7815 } // namespace v8
7815 7816
7816 #endif // V8_OBJECTS_INL_H_ 7817 #endif // V8_OBJECTS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698