| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 Handle<Object> input); | 1170 Handle<Object> input); |
| 1171 | 1171 |
| 1172 // ES6 section 7.1.14 ToPropertyKey | 1172 // ES6 section 7.1.14 ToPropertyKey |
| 1173 MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey( | 1173 MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey( |
| 1174 Isolate* isolate, Handle<Object> value); | 1174 Isolate* isolate, Handle<Object> value); |
| 1175 | 1175 |
| 1176 // ES6 section 7.1.15 ToLength | 1176 // ES6 section 7.1.15 ToLength |
| 1177 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, | 1177 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, |
| 1178 Handle<Object> input); | 1178 Handle<Object> input); |
| 1179 | 1179 |
| 1180 // ES6 section 7.1.17 ToIndex |
| 1181 MUST_USE_RESULT static MaybeHandle<Object> ToIndex(Isolate* isolate, |
| 1182 Handle<Object> input); |
| 1183 |
| 1180 // ES6 section 7.3.9 GetMethod | 1184 // ES6 section 7.3.9 GetMethod |
| 1181 MUST_USE_RESULT static MaybeHandle<Object> GetMethod( | 1185 MUST_USE_RESULT static MaybeHandle<Object> GetMethod( |
| 1182 Handle<JSReceiver> receiver, Handle<Name> name); | 1186 Handle<JSReceiver> receiver, Handle<Name> name); |
| 1183 | 1187 |
| 1184 // ES6 section 7.3.17 CreateListFromArrayLike | 1188 // ES6 section 7.3.17 CreateListFromArrayLike |
| 1185 MUST_USE_RESULT static MaybeHandle<FixedArray> CreateListFromArrayLike( | 1189 MUST_USE_RESULT static MaybeHandle<FixedArray> CreateListFromArrayLike( |
| 1186 Isolate* isolate, Handle<Object> object, ElementTypes element_types); | 1190 Isolate* isolate, Handle<Object> object, ElementTypes element_types); |
| 1187 | 1191 |
| 1188 // Get length property and apply ToLength. | 1192 // Get length property and apply ToLength. |
| 1189 MUST_USE_RESULT static MaybeHandle<Object> GetLengthFromArrayLike( | 1193 MUST_USE_RESULT static MaybeHandle<Object> GetLengthFromArrayLike( |
| (...skipping 9635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10825 } | 10829 } |
| 10826 return value; | 10830 return value; |
| 10827 } | 10831 } |
| 10828 }; | 10832 }; |
| 10829 | 10833 |
| 10830 | 10834 |
| 10831 } // NOLINT, false-positive due to second-order macros. | 10835 } // NOLINT, false-positive due to second-order macros. |
| 10832 } // NOLINT, false-positive due to second-order macros. | 10836 } // NOLINT, false-positive due to second-order macros. |
| 10833 | 10837 |
| 10834 #endif // V8_OBJECTS_H_ | 10838 #endif // V8_OBJECTS_H_ |
| OLD | NEW |