Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 089870068f81aaeac6e727f0b99625692bca7085..2ecc57b5de96c83ab19bce37a8bdf012a94f7c91 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -15918,7 +15918,7 @@ Type* PropertyCell::UpdateType(Handle<PropertyCell> cell, |
Handle<Object> value) { |
Isolate* isolate = cell->GetIsolate(); |
Handle<Type> old_type(cell->type(), isolate); |
- Handle<Type> new_type(value->IsTheHole() |
+ Handle<Type> new_type(value->IsConsString() || value->IsTheHole() |
? Type::Any() |
: Type::Constant(value, isolate), isolate); |