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

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

Issue 2873653002: [array] Don't adapt arguments for ArrayIndexOf and ArrayIncludes (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 \ 245 \
246 TFS(DeleteProperty, kObject, kKey, kLanguageMode) \ 246 TFS(DeleteProperty, kObject, kKey, kLanguageMode) \
247 \ 247 \
248 /* Array */ \ 248 /* Array */ \
249 ASM(ArrayCode) \ 249 ASM(ArrayCode) \
250 ASM(InternalArrayCode) \ 250 ASM(InternalArrayCode) \
251 CPP(ArrayConcat) \ 251 CPP(ArrayConcat) \
252 /* ES6 #sec-array.isarray */ \ 252 /* ES6 #sec-array.isarray */ \
253 TFJ(ArrayIsArray, 1, kArg) \ 253 TFJ(ArrayIsArray, 1, kArg) \
254 /* ES7 #sec-array.prototype.includes */ \ 254 /* ES7 #sec-array.prototype.includes */ \
255 TFJ(ArrayIncludes, 2, kSearchElement, kFromIndex) \ 255 TFJ(ArrayIncludes, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
256 /* ES6 #sec-array.prototype.indexof */ \ 256 /* ES6 #sec-array.prototype.indexof */ \
257 TFJ(ArrayIndexOf, 2, kSearchElement, kFromIndex) \ 257 TFJ(ArrayIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
258 /* ES6 #sec-array.prototype.pop */ \ 258 /* ES6 #sec-array.prototype.pop */ \
259 CPP(ArrayPop) \ 259 CPP(ArrayPop) \
260 TFJ(FastArrayPop, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 260 TFJ(FastArrayPop, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
261 /* ES6 #sec-array.prototype.push */ \ 261 /* ES6 #sec-array.prototype.push */ \
262 CPP(ArrayPush) \ 262 CPP(ArrayPush) \
263 TFJ(FastArrayPush, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 263 TFJ(FastArrayPush, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
264 /* ES6 #sec-array.prototype.shift */ \ 264 /* ES6 #sec-array.prototype.shift */ \
265 CPP(ArrayShift) \ 265 CPP(ArrayShift) \
266 /* ES6 #sec-array.prototype.slice */ \ 266 /* ES6 #sec-array.prototype.slice */ \
267 CPP(ArraySlice) \ 267 CPP(ArraySlice) \
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 #define BUILTIN_LIST_TFS(V) \ 1057 #define BUILTIN_LIST_TFS(V) \
1058 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1058 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1059 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1059 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1060 1060
1061 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1061 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1062 1062
1063 } // namespace internal 1063 } // namespace internal
1064 } // namespace v8 1064 } // namespace v8
1065 1065
1066 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1066 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698