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

Unified Diff: src/builtins/builtins.h

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Review feedback and fix test cases 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
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

Powered by Google App Engine
This is Rietveld 408576698