Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index df6ca6c0f10e1aef7b1abe6475bc0877a24894fa..e0e487fc9ab087b7262c467b70dbae00f0e4a20a 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -11,6 +11,7 @@ |
namespace v8 { |
namespace internal { |
+class Callable; |
template <typename T> |
class Handle; |
class Isolate; |
@@ -886,6 +887,10 @@ class Isolate; |
#define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) |
+#define BUILTIN_LIST_TFS(V) \ |
+ BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V, \ |
+ IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
+ |
#define BUILTIN_LIST_C(V) \ |
BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
IGNORE_BUILTIN, IGNORE_BUILTIN) |
@@ -959,6 +964,8 @@ class Builtins { |
return reinterpret_cast<Address>(&builtins_[name]); |
} |
+ static Callable CallableFor(Isolate* isolate, Name name); |
+ |
static const char* name(int index); |
// Returns the C++ entry point for builtins implemented in C++, and the null |