Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 696c6be6e8159cd8ba3427dab2f8eb6e0717400c..8fa6dbdcaed689256948f7c21e6a4785100c082d 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2345,7 +2345,6 @@ 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(); |
@@ -2355,10 +2354,11 @@ LInstruction* LChunkBuilder::DoTransitionElementsKind( |
new_map_reg, temp_reg); |
return result; |
} else { |
+ LOperand* object = UseFixed(instr->object(), eax); |
LOperand* context = UseFixed(instr->context(), esi); |
LTransitionElementsKind* result = |
new(zone()) LTransitionElementsKind(object, context, NULL, NULL); |
- return AssignPointerMap(result); |
+ return MarkAsCall(result, instr); |
} |
} |