Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 752f67673d76841120c4a2b4be96fbef29ec84cd..1ff8915f515bbe083112adf622ddf926b4c448f2 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2178,17 +2178,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(), a0); |
LOperand* context = UseFixed(instr->context(), cp); |
LTransitionElementsKind* result = |
new(zone()) LTransitionElementsKind(object, context, NULL); |
- return AssignPointerMap(result); |
+ return MarkAsCall(result, instr); |
} |
} |