Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 9c792316f5e12977ad14e9b151efd7def671e060..5af32cf2d9386f5be4d74e79cc09e4f5f336e41f 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1316,7 +1316,8 @@ LInstruction* LChunkBuilder::DoArgumentsElements(HArgumentsElements* elems) { |
LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) { |
LInstruction* result = |
- new LInstanceOf(Use(instr->left()), Use(instr->right())); |
+ new LInstanceOf(UseFixed(instr->left(), r1), |
+ UseFixed(instr->right(), r0)); |
return MarkAsCall(DefineFixed(result, r0), instr); |
} |