Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7ea9e930f16a286460a0e88c2d99b6b09824f2ed..da9b2133cce04ce4d8b72f0a9588f2028a8ebdad 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5420,9 +5420,9 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField( |
} |
if (transition_to_field) { |
- HConstant* transition_constant = Add<HConstant>(info->transition()); |
- instr->SetTransition(transition_constant, top_info()); |
- instr->SetChangesFlag(kMaps); |
+ Handle<Map> transition(info->transition()); |
+ ASSERT(!transition->is_deprecated()); |
+ instr->SetTransition(Add<HConstant>(transition)); |
} |
return instr; |
} |