Index: src/ppc/lithium-ppc.cc |
diff --git a/src/ppc/lithium-ppc.cc b/src/ppc/lithium-ppc.cc |
index fd2cc44cec08aaebfa8aa094f146e08c017acecf..db6cfb20515ac9be56ccf8ac86247a4f543c0ccc 100644 |
--- a/src/ppc/lithium-ppc.cc |
+++ b/src/ppc/lithium-ppc.cc |
@@ -2500,7 +2500,8 @@ LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LTypeof* result = new (zone()) LTypeof(context, UseFixed(instr->value(), r3)); |
+ LOperand* value = UseFixed(instr->value(), r6); |
+ LTypeof* result = new (zone()) LTypeof(context, value); |
return MarkAsCall(DefineFixed(result, r3), instr); |
} |