OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |