Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 55705b8073cfd0a8e3f91b8d7aa1beca58b1b978..c280999ca2b0849d7710fa89814d9ae472de7aa4 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2225,17 +2225,18 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
LInstruction* LChunkBuilder::DoTransitionElementsKind( |
HTransitionElementsKind* instr) { |
- LOperand* object = UseRegister(instr->object()); |
if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { |
+ LOperand* object = UseRegister(instr->object()); |
LOperand* new_map_reg = TempRegister(); |
LTransitionElementsKind* result = |
new(zone()) LTransitionElementsKind(object, NULL, new_map_reg); |
return result; |
} else { |
+ LOperand* object = UseFixed(instr->object(), r0); |
LOperand* context = UseFixed(instr->context(), cp); |
LTransitionElementsKind* result = |
new(zone()) LTransitionElementsKind(object, context, NULL); |
- return AssignPointerMap(result); |
+ return MarkAsCall(result, instr); |
} |
} |