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

Unified Diff: src/builtins/builtins.h

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Disable new array builtins by default Created 3 years, 6 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 | « src/builtins/arm64/builtins-arm64.cc ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »
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 b5eebff73b81ea017fab36c4c46b564d74c91709..69981611d0045d00047c384e5fa6aa386acc299a 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -18,6 +18,7 @@ class Handle;
class Isolate;
// Forward declarations.
+class BailoutId;
class RootVisitor;
enum class InterpreterPushArgsMode : unsigned;
namespace compiler {
@@ -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
« no previous file with comments | « src/builtins/arm64/builtins-arm64.cc ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698