| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 6875f99bd7e5a765388f70b20b55a9567c8fae6d..f7259bb04993946c433a38f063290c9c883518d2 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -4554,7 +4554,8 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField(
|
|
|
| if (transition_to_field) {
|
| Handle<Map> transition(lookup->GetTransitionMapFromMap(*map));
|
| - instr->SetTransition(transition, top_info());
|
| + HConstant* transition_constant = Add<HConstant>(transition);
|
| + instr->SetTransition(transition_constant, top_info());
|
| // TODO(fschneider): Record the new map type of the object in the IR to
|
| // enable elimination of redundant checks after the transition store.
|
| instr->SetGVNFlag(kChangesMaps);
|
|
|