Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 92b1250458acda624dbdf0facddff1728159bc28..0f6ef999ad556670d1daf669b1f2b9dfe21965b1 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4853,9 +4853,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
__ j(not_equal, ¬_applicable, branch_distance); |
if (is_simple_map_transition) { |
Register new_map_reg = ToRegister(instr->new_map_temp()); |
- Handle<Map> map = instr->hydrogen()->transitioned_map(); |
__ mov(FieldOperand(object_reg, HeapObject::kMapOffset), |
- Immediate(map)); |
+ Immediate(to_map)); |
// Write barrier. |
ASSERT_NE(instr->temp(), NULL); |
__ RecordWriteForMap(object_reg, to_map, new_map_reg, |