Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 82f188b8567b092bc559d30e6df2155c965d2c43..e31d2e1d8a88b4342915cb104eaf7e9e8c7dac3f 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); |
} |