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

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: Try new strategy (Option C) 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 5749 matching lines...) Expand 10 before | Expand all | Expand 10 after
5760 name_should_print_as_anonymous, 5760 name_should_print_as_anonymous,
5761 kNameShouldPrintAsAnonymous) 5761 kNameShouldPrintAsAnonymous)
5762 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, 5762 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression,
5763 kIsAnonymousExpression) 5763 kIsAnonymousExpression)
5764 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5764 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, 5765 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft,
5766 kDontCrankshaft) 5766 kDontCrankshaft)
5767 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5767 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) 5768 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5769 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5769 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_async, kIsAsyncFunction)
5770 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, 5771 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method,
5771 kIsConciseMethod) 5772 kIsConciseMethod)
5772 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function, 5773 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_getter_function,
5773 kIsGetterFunction) 5774 kIsGetterFunction)
5774 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function, 5775 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_setter_function,
5775 kIsSetterFunction) 5776 kIsSetterFunction)
5776 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, 5777 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
5777 kIsDefaultConstructor) 5778 kIsDefaultConstructor)
5778 5779
5779 bool Script::HasValidSource() { 5780 bool Script::HasValidSource() {
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
7806 #undef WRITE_INT64_FIELD 7807 #undef WRITE_INT64_FIELD
7807 #undef READ_BYTE_FIELD 7808 #undef READ_BYTE_FIELD
7808 #undef WRITE_BYTE_FIELD 7809 #undef WRITE_BYTE_FIELD
7809 #undef NOBARRIER_READ_BYTE_FIELD 7810 #undef NOBARRIER_READ_BYTE_FIELD
7810 #undef NOBARRIER_WRITE_BYTE_FIELD 7811 #undef NOBARRIER_WRITE_BYTE_FIELD
7811 7812
7812 } // namespace internal 7813 } // namespace internal
7813 } // namespace v8 7814 } // namespace v8
7814 7815
7815 #endif // V8_OBJECTS_INL_H_ 7816 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/isolate.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