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 69eb98d96156395cce99e1600dd292284d997479..c34db15e163d2f07f51f8311f1f7f6cea25b6b20 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3157,9 +3157,9 @@ |
&if_true, &if_false, &fall_through); |
__ JumpIfSmi(r0, if_false); |
- __ CompareObjectType(r0, r1, r2, FIRST_FUNCTION_TYPE); |
+ __ CompareObjectType(r0, r1, r2, JS_FUNCTION_TYPE); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(hs, if_true, if_false, fall_through); |
+ Split(eq, if_true, if_false, fall_through); |
context()->Plug(if_true, if_false); |
} |