Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 3742d166ca3c23d73e5aad033406e454c2a0bca4..315b053dc96c588eb8c2ff9f0aa1faefecb3097a 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2570,7 +2570,7 @@ void FullCodeGenerator::EmitIsFunction(ZoneList<Expression*>* args) { |
&if_true, &if_false, &fall_through); |
__ JumpIfSmi(r0, if_false); |
- __ CompareObjectType(r0, r1, r1, JS_FUNCTION_TYPE); |
+ __ CompareObjectType(r0, r1, r2, JS_FUNCTION_TYPE); |
PrepareForBailoutBeforeSplit(TOS_REG, true, if_true, if_false); |
Split(eq, if_true, if_false, fall_through); |