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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 CPP(Illegal) \ | 181 CPP(Illegal) \ |
182 CPP(RestrictedFunctionPropertiesThrower) \ | 182 CPP(RestrictedFunctionPropertiesThrower) \ |
183 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 183 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
184 \ | 184 \ |
185 /* Array */ \ | 185 /* Array */ \ |
186 ASM(ArrayCode) \ | 186 ASM(ArrayCode) \ |
187 ASM(InternalArrayCode) \ | 187 ASM(InternalArrayCode) \ |
188 CPP(ArrayConcat) \ | 188 CPP(ArrayConcat) \ |
189 /* ES6 section 22.1.2.2 Array.isArray */ \ | 189 /* ES6 section 22.1.2.2 Array.isArray */ \ |
190 TFJ(ArrayIsArray, 2) \ | 190 TFJ(ArrayIsArray, 2) \ |
| 191 /* ES7 section 22.1.3.11 Array.prototype.includes */ \ |
| 192 TFJ(ArrayIncludes, 3) \ |
191 CPP(ArrayPop) \ | 193 CPP(ArrayPop) \ |
192 CPP(ArrayPush) \ | 194 CPP(ArrayPush) \ |
193 CPP(ArrayShift) \ | 195 CPP(ArrayShift) \ |
194 CPP(ArraySlice) \ | 196 CPP(ArraySlice) \ |
195 CPP(ArraySplice) \ | 197 CPP(ArraySplice) \ |
196 CPP(ArrayUnshift) \ | 198 CPP(ArrayUnshift) \ |
197 \ | 199 \ |
198 /* ArrayBuffer */ \ | 200 /* ArrayBuffer */ \ |
199 CPP(ArrayBufferConstructor) \ | 201 CPP(ArrayBufferConstructor) \ |
200 CPP(ArrayBufferConstructor_ConstructStub) \ | 202 CPP(ArrayBufferConstructor_ConstructStub) \ |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 618 |
617 friend class Isolate; | 619 friend class Isolate; |
618 | 620 |
619 DISALLOW_COPY_AND_ASSIGN(Builtins); | 621 DISALLOW_COPY_AND_ASSIGN(Builtins); |
620 }; | 622 }; |
621 | 623 |
622 } // namespace internal | 624 } // namespace internal |
623 } // namespace v8 | 625 } // namespace v8 |
624 | 626 |
625 #endif // V8_BUILTINS_BUILTINS_H_ | 627 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |