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

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

Issue 2497243002: [stubs] Port builtin for Array.push fast-case from Crankshaft to TF (Closed)
Patch Set: Fix GC mole Created 4 years 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/arm64/code-stubs-arm64.cc ('k') | src/builtins/builtins-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ASM(ArrayCode) \ 213 ASM(ArrayCode) \
214 ASM(InternalArrayCode) \ 214 ASM(InternalArrayCode) \
215 CPP(ArrayConcat) \ 215 CPP(ArrayConcat) \
216 /* ES6 section 22.1.2.2 Array.isArray */ \ 216 /* ES6 section 22.1.2.2 Array.isArray */ \
217 TFJ(ArrayIsArray, 1) \ 217 TFJ(ArrayIsArray, 1) \
218 /* ES7 #sec-array.prototype.includes */ \ 218 /* ES7 #sec-array.prototype.includes */ \
219 TFJ(ArrayIncludes, 2) \ 219 TFJ(ArrayIncludes, 2) \
220 TFJ(ArrayIndexOf, 2) \ 220 TFJ(ArrayIndexOf, 2) \
221 CPP(ArrayPop) \ 221 CPP(ArrayPop) \
222 CPP(ArrayPush) \ 222 CPP(ArrayPush) \
223 TFJ(FastArrayPush, -1) \
223 CPP(ArrayShift) \ 224 CPP(ArrayShift) \
224 CPP(ArraySlice) \ 225 CPP(ArraySlice) \
225 CPP(ArraySplice) \ 226 CPP(ArraySplice) \
226 CPP(ArrayUnshift) \ 227 CPP(ArrayUnshift) \
227 /* ES6 #sec-array.prototype.entries */ \ 228 /* ES6 #sec-array.prototype.entries */ \
228 TFJ(ArrayPrototypeEntries, 0) \ 229 TFJ(ArrayPrototypeEntries, 0) \
229 /* ES6 #sec-array.prototype.keys */ \ 230 /* ES6 #sec-array.prototype.keys */ \
230 TFJ(ArrayPrototypeKeys, 0) \ 231 TFJ(ArrayPrototypeKeys, 0) \
231 /* ES6 #sec-array.prototype.values */ \ 232 /* ES6 #sec-array.prototype.values */ \
232 TFJ(ArrayPrototypeValues, 0) \ 233 TFJ(ArrayPrototypeValues, 0) \
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 839
839 friend class Isolate; 840 friend class Isolate;
840 841
841 DISALLOW_COPY_AND_ASSIGN(Builtins); 842 DISALLOW_COPY_AND_ASSIGN(Builtins);
842 }; 843 };
843 844
844 } // namespace internal 845 } // namespace internal
845 } // namespace v8 846 } // namespace v8
846 847
847 #endif // V8_BUILTINS_BUILTINS_H_ 848 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/builtins/builtins-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698