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