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

Side by Side Diff: src/objects.h

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: remove weird arrow-generator thing 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6828 matching lines...) Expand 10 before | Expand all | Expand 10 after
6839 6839
6840 // Indicates that code for this function cannot be compiled with Crankshaft. 6840 // Indicates that code for this function cannot be compiled with Crankshaft.
6841 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) 6841 DECL_BOOLEAN_ACCESSORS(dont_crankshaft)
6842 6842
6843 // Indicates that code for this function cannot be flushed. 6843 // Indicates that code for this function cannot be flushed.
6844 DECL_BOOLEAN_ACCESSORS(dont_flush) 6844 DECL_BOOLEAN_ACCESSORS(dont_flush)
6845 6845
6846 // Indicates that this function is a generator. 6846 // Indicates that this function is a generator.
6847 DECL_BOOLEAN_ACCESSORS(is_generator) 6847 DECL_BOOLEAN_ACCESSORS(is_generator)
6848 6848
6849 // Indicates that this function is an async function.
6850 DECL_BOOLEAN_ACCESSORS(is_async)
6851
6852 // Indicates that this function can be suspended, either via YieldExpressions
6853 // or AwaitExpressions.
6854 inline bool is_resumable() const;
6855
6849 // Indicates that this function is an arrow function. 6856 // Indicates that this function is an arrow function.
6850 DECL_BOOLEAN_ACCESSORS(is_arrow) 6857 DECL_BOOLEAN_ACCESSORS(is_arrow)
6851 6858
6852 // Indicates that this function is a concise method. 6859 // Indicates that this function is a concise method.
6853 DECL_BOOLEAN_ACCESSORS(is_concise_method) 6860 DECL_BOOLEAN_ACCESSORS(is_concise_method)
6854 6861
6855 // Indicates that this function is a getter. 6862 // Indicates that this function is a getter.
6856 DECL_BOOLEAN_ACCESSORS(is_getter_function) 6863 DECL_BOOLEAN_ACCESSORS(is_getter_function)
6857 6864
6858 // Indicates that this function is a setter. 6865 // Indicates that this function is a setter.
(...skipping 3869 matching lines...) Expand 10 before | Expand all | Expand 10 after
10728 } 10735 }
10729 return value; 10736 return value;
10730 } 10737 }
10731 }; 10738 };
10732 10739
10733 10740
10734 } // NOLINT, false-positive due to second-order macros. 10741 } // NOLINT, false-positive due to second-order macros.
10735 } // NOLINT, false-positive due to second-order macros. 10742 } // NOLINT, false-positive due to second-order macros.
10736 10743
10737 #endif // V8_OBJECTS_H_ 10744 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698