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