Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 92274f7336af6b5df10f9c9bf1e04a63a963d581..8664945fb893c365b8aeb83cf7644ba5b10845a3 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1012,8 +1012,8 @@ LInstruction* LChunkBuilder::DoTest(HTest* instr) { |
} else if (v->IsInstanceOf()) { |
HInstanceOf* instance_of = HInstanceOf::cast(v); |
LInstruction* result = |
- new LInstanceOfAndBranch(Use(instance_of->left()), |
- Use(instance_of->right())); |
+ new LInstanceOfAndBranch(UseFixed(instance_of->left(), r0), |
+ UseFixed(instance_of->right(), r1)); |
return MarkAsCall(result, instr); |
} else if (v->IsTypeofIs()) { |
HTypeofIs* typeof_is = HTypeofIs::cast(v); |