Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index ad1a313376d2f3a1de20a716298aef849e6b60cd..e7ec2c4ea3d5670992e295a9cf78ffe68514c3de 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1615,7 +1615,8 @@ static bool LookupForWrite(Handle<JSObject> receiver, |
if (!value->FitsRepresentation(target_details.representation())) { |
Handle<Map> target(lookup->GetTransitionMapFromMap(receiver->map())); |
Map::GeneralizeRepresentation( |
- target, target->LastAdded(), value->OptimalRepresentation()); |
+ target, target->LastAdded(), |
+ value->OptimalRepresentation(), FORCE_FIELD); |
// Lookup the transition again since the transition tree may have changed |
// entirely by the migration above. |
receiver->map()->LookupTransition(*holder, *name, lookup); |