Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 9e7c237c000966a9cff147a224d34f1456368317..50882a8a7f899e657076b55d7be7a1feedbcc191 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.is_null()) return false; |
+ if (result->IsSmi()) return false; |
} |
ASSERT(max_depth >= 0 && *max_properties >= 0); |