Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index b5eebff73b81ea017fab36c4c46b564d74c91709..e028600d2f154c100f5e18f23189a4f7b39512b2 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -8,6 +8,7 @@ |
#include "src/base/flags.h" |
#include "src/builtins/builtins-definitions.h" |
#include "src/globals.h" |
+#include "src/utils.h" |
Michael Starzinger
2017/05/24 13:54:59
nit: Assuming this is only needed for BailoutId, w
danno
2017/06/06 12:04:51
Done.
|
namespace v8 { |
namespace internal { |
@@ -43,6 +44,9 @@ class Builtins { |
builtin_count |
}; |
+ static BailoutId GetContinuationBailoutId(Name name); |
+ static Name GetBuiltinFromBailoutId(BailoutId); |
+ |
#define DECLARE_BUILTIN_ACCESSOR(Name, ...) \ |
V8_EXPORT_PRIVATE Handle<Code> Name(); |
BUILTIN_LIST_ALL(DECLARE_BUILTIN_ACCESSOR) |
@@ -80,6 +84,8 @@ class Builtins { |
static Callable CallableFor(Isolate* isolate, Name name); |
+ static int GetStackParameterCount(Isolate* isolate, Name name); |
+ |
static const char* name(int index); |
// Returns the C++ entry point for builtins implemented in C++, and the null |