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

Unified Diff: src/builtins/builtins.h

Issue 2663033003: [builtins] TurboFan version of Array.prototype.forEach including fast path for FAST_ELEMENTS (Closed)
Patch Set: Review feedback Created 3 years, 10 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/bootstrapper.cc ('k') | src/builtins/builtins-array.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 9788936fe99565a9d9563fe694aee4139d56589b..1962995db571007561221383213afbdc705f27cd 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -58,6 +58,7 @@ class Isolate;
ASM(CompileLazy) \
TFS(ToObject, BUILTIN, kNoExtraICState, TypeConversion) \
TFS(FastNewObject, BUILTIN, kNoExtraICState, FastNewObject) \
+ TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
\
/* Calls */ \
ASM(ArgumentsAdaptorTrampoline) \
@@ -273,6 +274,7 @@ class Isolate;
CPP(ArraySlice) \
CPP(ArraySplice) \
CPP(ArrayUnshift) \
+ TFJ(ArrayForEach, 2) \
/* ES6 #sec-array.prototype.entries */ \
TFJ(ArrayPrototypeEntries, 0) \
/* ES6 #sec-array.prototype.keys */ \
@@ -642,7 +644,6 @@ class Isolate;
CPP(ObjectSeal) \
CPP(ObjectValues) \
\
- TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \
TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \
TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698