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

Unified Diff: src/builtins/builtins.h

Issue 2752213002: [csa] Add CSA::CallBuiltin and Builtins::CallableFor (Closed)
Patch Set: Remove unused variable again Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | src/builtins/builtins.cc » ('j') | src/builtins/builtins.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « BUILD.gn ('k') | src/builtins/builtins.cc » ('j') | src/builtins/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698