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

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: Fix more bugs 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 6835 matching lines...) Expand 10 before | Expand all | Expand 10 after
6846 6846
6847 // Indicates that code for this function cannot be compiled with Crankshaft. 6847 // Indicates that code for this function cannot be compiled with Crankshaft.
6848 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) 6848 DECL_BOOLEAN_ACCESSORS(dont_crankshaft)
6849 6849
6850 // Indicates that code for this function cannot be flushed. 6850 // Indicates that code for this function cannot be flushed.
6851 DECL_BOOLEAN_ACCESSORS(dont_flush) 6851 DECL_BOOLEAN_ACCESSORS(dont_flush)
6852 6852
6853 // Indicates that this function is a generator. 6853 // Indicates that this function is a generator.
6854 DECL_BOOLEAN_ACCESSORS(is_generator) 6854 DECL_BOOLEAN_ACCESSORS(is_generator)
6855 6855
6856 // Indicates that this function is an async function.
6857 DECL_BOOLEAN_ACCESSORS(is_async)
6858
6859 // Indicates that this function can be suspended, either via YieldExpressions
6860 // or AwaitExpressions.
6861 inline bool is_resumable() const;
6862
6856 // Indicates that this function is an arrow function. 6863 // Indicates that this function is an arrow function.
6857 DECL_BOOLEAN_ACCESSORS(is_arrow) 6864 DECL_BOOLEAN_ACCESSORS(is_arrow)
6858 6865
6859 // Indicates that this function is a concise method. 6866 // Indicates that this function is a concise method.
6860 DECL_BOOLEAN_ACCESSORS(is_concise_method) 6867 DECL_BOOLEAN_ACCESSORS(is_concise_method)
6861 6868
6862 // Indicates that this function is a getter. 6869 // Indicates that this function is a getter.
6863 DECL_BOOLEAN_ACCESSORS(is_getter_function) 6870 DECL_BOOLEAN_ACCESSORS(is_getter_function)
6864 6871
6865 // Indicates that this function is a setter. 6872 // Indicates that this function is a setter.
(...skipping 3868 matching lines...) Expand 10 before | Expand all | Expand 10 after
10734 } 10741 }
10735 return value; 10742 return value;
10736 } 10743 }
10737 }; 10744 };
10738 10745
10739 10746
10740 } // NOLINT, false-positive due to second-order macros. 10747 } // NOLINT, false-positive due to second-order macros.
10741 } // NOLINT, false-positive due to second-order macros. 10748 } // NOLINT, false-positive due to second-order macros.
10742 10749
10743 #endif // V8_OBJECTS_H_ 10750 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698