Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 253abd1a5cf59d7e7339aec60ce2faf599bd6fd9..ba318c4892f03cd2eb46c959374ab018f3aa0ca3 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4106,7 +4106,7 @@ static bool IsFastLiteral(Handle<JSObject> boilerplate, |
int* max_properties) { |
if (boilerplate->map()->is_deprecated()) { |
Handle<Object> result = JSObject::TryMigrateInstance(boilerplate); |
- if (result->IsSmi()) return false; |
+ if (result.is_null()) return false; |
} |
ASSERT(max_depth >= 0 && *max_properties >= 0); |