Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index c34db15e163d2f07f51f8311f1f7f6cea25b6b20..69eb98d96156395cce99e1600dd292284d997479 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3157,9 +3157,9 @@ void FullCodeGenerator::EmitIsFunction(CallRuntime* expr) { |
&if_true, &if_false, &fall_through); |
__ JumpIfSmi(r0, if_false); |
- __ CompareObjectType(r0, r1, r2, JS_FUNCTION_TYPE); |
+ __ CompareObjectType(r0, r1, r2, FIRST_FUNCTION_TYPE); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(eq, if_true, if_false, fall_through); |
+ Split(hs, if_true, if_false, fall_through); |
context()->Plug(if_true, if_false); |
} |