| 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 9732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10922 } | 10926 } |
| 10923 return value; | 10927 return value; |
| 10924 } | 10928 } |
| 10925 }; | 10929 }; |
| 10926 | 10930 |
| 10927 | 10931 |
| 10928 } // NOLINT, false-positive due to second-order macros. | 10932 } // NOLINT, false-positive due to second-order macros. |
| 10929 } // NOLINT, false-positive due to second-order macros. | 10933 } // NOLINT, false-positive due to second-order macros. |
| 10930 | 10934 |
| 10931 #endif // V8_OBJECTS_H_ | 10935 #endif // V8_OBJECTS_H_ |
| OLD | NEW |