| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0ce8f977c758efd981456abf558411363567a731..b1219e9a681159cd24335ae61465c0a8ce58bc82 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1490,9 +1490,8 @@ class Object : public MaybeObject {
|
| Handle<Context> context);
|
|
|
| // Converts this to a Smi if possible.
|
| - // Failure is returned otherwise.
|
| - static MUST_USE_RESULT inline Handle<Object> ToSmi(Isolate* isolate,
|
| - Handle<Object> object);
|
| + static MUST_USE_RESULT inline MaybeHandle<Smi> ToSmi(Isolate* isolate,
|
| + Handle<Object> object);
|
|
|
| void Lookup(Name* name, LookupResult* result);
|
|
|
|
|