Index: src/ppc/lithium-ppc.cc |
diff --git a/src/ppc/lithium-ppc.cc b/src/ppc/lithium-ppc.cc |
index d54c7ec46af07b940d15204d2a1e21b4af19ac7e..305b1149bab9e1e0b9e698c17309c29adfc2e1f0 100644 |
--- a/src/ppc/lithium-ppc.cc |
+++ b/src/ppc/lithium-ppc.cc |
@@ -2029,7 +2029,9 @@ LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { |
LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { |
if (instr->IsStabilityCheck()) return new (zone()) LCheckMaps; |
LOperand* value = UseRegisterAtStart(instr->value()); |
- LInstruction* result = AssignEnvironment(new (zone()) LCheckMaps(value)); |
+ LOperand* temp = TempRegister(); |
+ LInstruction* result = |
+ AssignEnvironment(new (zone()) LCheckMaps(value, temp)); |
if (instr->HasMigrationTarget()) { |
info()->MarkAsDeferredCalling(); |
result = AssignPointerMap(result); |