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

Side by Side Diff: src/builtins/builtins-definitions.h

Issue 2829093004: [turbofan] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins (Closed)
Patch Set: Merge with ToT 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 TFJ(FastArrayPush, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 262 TFJ(FastArrayPush, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
263 /* ES6 #sec-array.prototype.shift */ \ 263 /* ES6 #sec-array.prototype.shift */ \
264 CPP(ArrayShift) \ 264 CPP(ArrayShift) \
265 /* ES6 #sec-array.prototype.slice */ \ 265 /* ES6 #sec-array.prototype.slice */ \
266 CPP(ArraySlice) \ 266 CPP(ArraySlice) \
267 /* ES6 #sec-array.prototype.splice */ \ 267 /* ES6 #sec-array.prototype.splice */ \
268 CPP(ArraySplice) \ 268 CPP(ArraySplice) \
269 /* ES6 #sec-array.prototype.unshift */ \ 269 /* ES6 #sec-array.prototype.unshift */ \
270 CPP(ArrayUnshift) \ 270 CPP(ArrayUnshift) \
271 /* ES6 #sec-array.prototype.foreach */ \ 271 /* ES6 #sec-array.prototype.foreach */ \
272 TFJ(ArrayForEachLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 272 TFS(ArrayForEachLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
273 kInitialK, kLength, kTo) \ 273 kObject, kInitialK, kLength, kTo) \
274 TFJ(ArrayForEach, 2, kCallbackFn, kThisArg) \ 274 TFJ(ArrayForEach, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
275 /* ES6 #sec-array.prototype.every */ \ 275 /* ES6 #sec-array.prototype.every */ \
276 TFJ(ArrayEveryLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 276 TFS(ArrayEveryLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
277 kInitialK, kLength, kTo) \ 277 kObject, kInitialK, kLength, kTo) \
278 TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \ 278 TFJ(ArrayEvery, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
279 /* ES6 #sec-array.prototype.some */ \ 279 /* ES6 #sec-array.prototype.some */ \
280 TFJ(ArraySomeLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 280 TFS(ArraySomeLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
281 kInitialK, kLength, kTo) \ 281 kObject, kInitialK, kLength, kTo) \
282 TFJ(ArraySome, 2, kCallbackFn, kThisArg) \ 282 TFJ(ArraySome, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
283 /* ES6 #sec-array.prototype.filter */ \ 283 /* ES6 #sec-array.prototype.filter */ \
284 TFJ(ArrayFilterLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 284 TFS(ArrayFilterLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
285 kInitialK, kLength, kTo) \ 285 kObject, kInitialK, kLength, kTo) \
286 TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \ 286 TFJ(ArrayFilter, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
287 /* ES6 #sec-array.prototype.foreach */ \ 287 /* ES6 #sec-array.prototype.foreach */ \
288 TFJ(ArrayMapLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 288 TFS(ArrayMapLoopContinuation, kReceiver, kCallbackFn, kThisArg, kArray, \
289 kInitialK, kLength, kTo) \ 289 kObject, kInitialK, kLength, kTo) \
290 TFJ(ArrayMap, 2, kCallbackFn, kThisArg) \ 290 TFJ(ArrayMap, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
291 /* ES6 #sec-array.prototype.reduce */ \ 291 /* ES6 #sec-array.prototype.reduce */ \
292 TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \ 292 TFS(ArrayReduceLoopContinuation, kReceiver, kCallbackFn, kThisArg, \
293 kObject, kInitialK, kLength, kTo) \ 293 kAccumulator, kObject, kInitialK, kLength, kTo) \
294 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \ 294 TFJ(ArrayReduce, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
295 /* ES6 #sec-array.prototype.reduceRight */ \ 295 /* ES6 #sec-array.prototype.reduceRight */ \
296 TFJ(ArrayReduceRightLoopContinuation, 7, kCallbackFn, kThisArg, \ 296 TFS(ArrayReduceRightLoopContinuation, kReceiver, kCallbackFn, kThisArg, \
297 kAccumulator, kObject, kInitialK, kLength, kTo) \ 297 kAccumulator, kObject, kInitialK, kLength, kTo) \
298 TFJ(ArrayReduceRight, 2, kCallbackFn, kInitialValue) \ 298 TFJ(ArrayReduceRight, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
299 /* ES6 #sec-array.prototype.entries */ \ 299 /* ES6 #sec-array.prototype.entries */ \
300 TFJ(ArrayPrototypeEntries, 0) \ 300 TFJ(ArrayPrototypeEntries, 0) \
301 /* ES6 #sec-array.prototype.keys */ \ 301 /* ES6 #sec-array.prototype.keys */ \
302 TFJ(ArrayPrototypeKeys, 0) \ 302 TFJ(ArrayPrototypeKeys, 0) \
303 /* ES6 #sec-array.prototype.values */ \ 303 /* ES6 #sec-array.prototype.values */ \
304 TFJ(ArrayPrototypeValues, 0) \ 304 TFJ(ArrayPrototypeValues, 0) \
305 /* ES6 #sec-%arrayiteratorprototype%.next */ \ 305 /* ES6 #sec-%arrayiteratorprototype%.next */ \
306 TFJ(ArrayIteratorPrototypeNext, 0) \ 306 TFJ(ArrayIteratorPrototypeNext, 0) \
307 \ 307 \
308 /* ArrayBuffer */ \ 308 /* ArrayBuffer */ \
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 #define BUILTIN_LIST_TFS(V) \ 1055 #define BUILTIN_LIST_TFS(V) \
1056 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1056 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1057 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1057 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1058 1058
1059 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1059 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1060 1060
1061 } // namespace internal 1061 } // namespace internal
1062 } // namespace v8 1062 } // namespace v8
1063 1063
1064 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1064 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698