Index: src/compiler/load-elimination.cc |
diff --git a/src/compiler/load-elimination.cc b/src/compiler/load-elimination.cc |
index 4a5114625189483820ba5c64dfc7f90de0d9e6ff..b0175631863a2b84cd777fdc392b0db0ea55a5fc 100644 |
--- a/src/compiler/load-elimination.cc |
+++ b/src/compiler/load-elimination.cc |
@@ -744,6 +744,10 @@ Reduction LoadElimination::ReduceLoadField(Node* node) { |
state = state->AddField(object, field_index, node, zone()); |
} |
} |
+ Handle<Map> field_map; |
+ if (access.map.ToHandle(&field_map)) { |
+ state = state->AddMaps(node, ZoneHandleSet<Map>(field_map), zone()); |
+ } |
return UpdateState(node, state); |
} |