| 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 #include <memory> | 9 #include <memory> | 
| 10 | 10 | 
| (...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1187                                                      Handle<Object> input); | 1187                                                      Handle<Object> input); | 
| 1188 | 1188 | 
| 1189   // ES6 section 7.1.6 ToUint32 | 1189   // ES6 section 7.1.6 ToUint32 | 
| 1190   MUST_USE_RESULT static MaybeHandle<Object> ToUint32(Isolate* isolate, | 1190   MUST_USE_RESULT static MaybeHandle<Object> ToUint32(Isolate* isolate, | 
| 1191                                                       Handle<Object> input); | 1191                                                       Handle<Object> input); | 
| 1192 | 1192 | 
| 1193   // ES6 section 7.1.12 ToString | 1193   // ES6 section 7.1.12 ToString | 
| 1194   MUST_USE_RESULT static MaybeHandle<String> ToString(Isolate* isolate, | 1194   MUST_USE_RESULT static MaybeHandle<String> ToString(Isolate* isolate, | 
| 1195                                                       Handle<Object> input); | 1195                                                       Handle<Object> input); | 
| 1196 | 1196 | 
|  | 1197   static Handle<String> NoSideEffectsToString(Isolate* isolate, | 
|  | 1198                                               Handle<Object> input); | 
|  | 1199 | 
| 1197   // ES6 section 7.1.14 ToPropertyKey | 1200   // ES6 section 7.1.14 ToPropertyKey | 
| 1198   MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey( | 1201   MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey( | 
| 1199       Isolate* isolate, Handle<Object> value); | 1202       Isolate* isolate, Handle<Object> value); | 
| 1200 | 1203 | 
| 1201   // ES6 section 7.1.15 ToLength | 1204   // ES6 section 7.1.15 ToLength | 
| 1202   MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, | 1205   MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, | 
| 1203                                                       Handle<Object> input); | 1206                                                       Handle<Object> input); | 
| 1204 | 1207 | 
| 1205   // ES6 section 7.3.9 GetMethod | 1208   // ES6 section 7.3.9 GetMethod | 
| 1206   MUST_USE_RESULT static MaybeHandle<Object> GetMethod( | 1209   MUST_USE_RESULT static MaybeHandle<Object> GetMethod( | 
| (...skipping 9844 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 11051     } | 11054     } | 
| 11052     return value; | 11055     return value; | 
| 11053   } | 11056   } | 
| 11054 }; | 11057 }; | 
| 11055 | 11058 | 
| 11056 | 11059 | 
| 11057 }  // NOLINT, false-positive due to second-order macros. | 11060 }  // NOLINT, false-positive due to second-order macros. | 
| 11058 }  // NOLINT, false-positive due to second-order macros. | 11061 }  // NOLINT, false-positive due to second-order macros. | 
| 11059 | 11062 | 
| 11060 #endif  // V8_OBJECTS_H_ | 11063 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|