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

Unified Diff: src/builtins/builtins-definitions.h

Issue 2851063002: Revert of [turbofan] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins (Closed)
Patch Set: Created 3 years, 8 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/builtins-array-gen.cc ('k') | src/code-factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-definitions.h
diff --git a/src/builtins/builtins-definitions.h b/src/builtins/builtins-definitions.h
index 18d1ac11cb8c5df6540e00101d4eb1bb3510c3ac..e1a55b2f405a052e60ef1402010ebb27b3fa236d 100644
--- a/src/builtins/builtins-definitions.h
+++ b/src/builtins/builtins-definitions.h
@@ -269,33 +269,33 @@
/* ES6 #sec-array.prototype.unshift */ \
CPP(ArrayUnshift) \
/* ES6 #sec-array.prototype.foreach */ \
- TFS(ArrayForEachLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
+ TFJ(ArrayForEachLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
+ kInitialK, kLength, kTo) \
+ TFJ(ArrayForEach, 2, kCallbackFn, kThisArg) \
+ /* ES6 #sec-array.prototype.every */ \
+ TFJ(ArrayEveryLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
+ kInitialK, kLength, kTo) \
+ TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \
+ /* ES6 #sec-array.prototype.some */ \
+ TFJ(ArraySomeLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
+ kInitialK, kLength, kTo) \
+ TFJ(ArraySome, 2, kCallbackFn, kThisArg) \
+ /* ES6 #sec-array.prototype.filter */ \
+ TFJ(ArrayFilterLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
+ kInitialK, kLength, kTo) \
+ TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \
+ /* ES6 #sec-array.prototype.foreach */ \
+ TFJ(ArrayMapLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
+ kInitialK, kLength, kTo) \
+ TFJ(ArrayMap, 2, kCallbackFn, kThisArg) \
+ /* ES6 #sec-array.prototype.reduce */ \
+ TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \
kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayForEach, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.every */ \
- TFS(ArrayEveryLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
- kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayEvery, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.some */ \
- TFS(ArraySomeLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
- kObject, kInitialK, kLength, kTo) \
- TFJ(ArraySome, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.filter */ \
- TFS(ArrayFilterLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
- kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayFilter, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.foreach */ \
- TFS(ArrayMapLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
- kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayMap, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.reduce */ \
- TFS(ArrayReduceLoopContinuation, kReceiver, kCallbackFn, kThisArg, \
+ TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \
+ /* ES6 #sec-array.prototype.reduceRight */ \
+ TFJ(ArrayReduceRightLoopContinuation, 7, kCallbackFn, kThisArg, \
kAccumulator, kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayReduce, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
- /* ES6 #sec-array.prototype.reduceRight */ \
- TFS(ArrayReduceRightLoopContinuation, kReceiver, kCallbackFn, kThisArg, \
- kAccumulator, kObject, kInitialK, kLength, kTo) \
- TFJ(ArrayReduceRight, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
+ TFJ(ArrayReduceRight, 2, kCallbackFn, kInitialValue) \
/* ES6 #sec-array.prototype.entries */ \
TFJ(ArrayPrototypeEntries, 0) \
/* ES6 #sec-array.prototype.keys */ \
@@ -935,17 +935,13 @@
/* ES6 #sec-%typedarray%.prototype.slice */ \
CPP(TypedArrayPrototypeSlice) \
/* ES6 %TypedArray%.prototype.every */ \
- TFJ(TypedArrayPrototypeEvery, \
- SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
+ TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
/* ES6 %TypedArray%.prototype.some */ \
- TFJ(TypedArrayPrototypeSome, \
- SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
+ TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
/* ES6 %TypedArray%.prototype.reduce */ \
- TFJ(TypedArrayPrototypeReduce, \
- SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
+ TFJ(TypedArrayPrototypeReduce, 2, kCallbackFn, kInitialValue) \
/* ES6 %TypedArray%.prototype.reduceRight */ \
- TFJ(TypedArrayPrototypeReduceRight, \
- SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
+ TFJ(TypedArrayPrototypeReduceRight, 2, kCallbackFn, kInitialValue) \
\
/* Wasm */ \
ASM(WasmCompileLazy) \
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698