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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 CPP(RestrictedFunctionPropertiesThrower) \ | 185 CPP(RestrictedFunctionPropertiesThrower) \ |
186 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 186 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
187 CPP(UnsupportedThrower) \ | 187 CPP(UnsupportedThrower) \ |
188 \ | 188 \ |
189 /* Array */ \ | 189 /* Array */ \ |
190 ASM(ArrayCode) \ | 190 ASM(ArrayCode) \ |
191 ASM(InternalArrayCode) \ | 191 ASM(InternalArrayCode) \ |
192 CPP(ArrayConcat) \ | 192 CPP(ArrayConcat) \ |
193 /* ES6 section 22.1.2.2 Array.isArray */ \ | 193 /* ES6 section 22.1.2.2 Array.isArray */ \ |
194 TFJ(ArrayIsArray, 2) \ | 194 TFJ(ArrayIsArray, 2) \ |
| 195 /* ES7 #sec-array.prototype.includes */ \ |
| 196 TFJ(ArrayIncludes, 3) \ |
195 CPP(ArrayPop) \ | 197 CPP(ArrayPop) \ |
196 CPP(ArrayPush) \ | 198 CPP(ArrayPush) \ |
197 CPP(ArrayShift) \ | 199 CPP(ArrayShift) \ |
198 CPP(ArraySlice) \ | 200 CPP(ArraySlice) \ |
199 CPP(ArraySplice) \ | 201 CPP(ArraySplice) \ |
200 CPP(ArrayUnshift) \ | 202 CPP(ArrayUnshift) \ |
201 \ | 203 \ |
202 /* ArrayBuffer */ \ | 204 /* ArrayBuffer */ \ |
203 CPP(ArrayBufferConstructor) \ | 205 CPP(ArrayBufferConstructor) \ |
204 CPP(ArrayBufferConstructor_ConstructStub) \ | 206 CPP(ArrayBufferConstructor_ConstructStub) \ |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 | 646 |
645 friend class Isolate; | 647 friend class Isolate; |
646 | 648 |
647 DISALLOW_COPY_AND_ASSIGN(Builtins); | 649 DISALLOW_COPY_AND_ASSIGN(Builtins); |
648 }; | 650 }; |
649 | 651 |
650 } // namespace internal | 652 } // namespace internal |
651 } // namespace v8 | 653 } // namespace v8 |
652 | 654 |
653 #endif // V8_BUILTINS_BUILTINS_H_ | 655 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |