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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 CPP(UnsupportedThrower) \ | 191 CPP(UnsupportedThrower) \ |
192 \ | 192 \ |
193 /* Array */ \ | 193 /* Array */ \ |
194 ASM(ArrayCode) \ | 194 ASM(ArrayCode) \ |
195 ASM(InternalArrayCode) \ | 195 ASM(InternalArrayCode) \ |
196 CPP(ArrayConcat) \ | 196 CPP(ArrayConcat) \ |
197 /* ES6 section 22.1.2.2 Array.isArray */ \ | 197 /* ES6 section 22.1.2.2 Array.isArray */ \ |
198 TFJ(ArrayIsArray, 2) \ | 198 TFJ(ArrayIsArray, 2) \ |
199 /* ES7 #sec-array.prototype.includes */ \ | 199 /* ES7 #sec-array.prototype.includes */ \ |
200 TFJ(ArrayIncludes, 3) \ | 200 TFJ(ArrayIncludes, 3) \ |
| 201 TFJ(ArrayIndexOf, 3) \ |
201 CPP(ArrayPop) \ | 202 CPP(ArrayPop) \ |
202 CPP(ArrayPush) \ | 203 CPP(ArrayPush) \ |
203 CPP(ArrayShift) \ | 204 CPP(ArrayShift) \ |
204 CPP(ArraySlice) \ | 205 CPP(ArraySlice) \ |
205 CPP(ArraySplice) \ | 206 CPP(ArraySplice) \ |
206 CPP(ArrayUnshift) \ | 207 CPP(ArrayUnshift) \ |
207 \ | 208 \ |
208 /* ArrayBuffer */ \ | 209 /* ArrayBuffer */ \ |
209 CPP(ArrayBufferConstructor) \ | 210 CPP(ArrayBufferConstructor) \ |
210 CPP(ArrayBufferConstructor_ConstructStub) \ | 211 CPP(ArrayBufferConstructor_ConstructStub) \ |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 | 660 |
660 friend class Isolate; | 661 friend class Isolate; |
661 | 662 |
662 DISALLOW_COPY_AND_ASSIGN(Builtins); | 663 DISALLOW_COPY_AND_ASSIGN(Builtins); |
663 }; | 664 }; |
664 | 665 |
665 } // namespace internal | 666 } // namespace internal |
666 } // namespace v8 | 667 } // namespace v8 |
667 | 668 |
668 #endif // V8_BUILTINS_BUILTINS_H_ | 669 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |