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