Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 9f8ccec37412c31e1653e6afc917ca8b882f44b0..fede21f48fe8e2d129d4b1929f0f2bc91045d8f5 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2866,9 +2866,9 @@ |
&if_true, &if_false, &fall_through); |
__ JumpIfSmi(x0, if_false); |
- __ CompareObjectType(x0, x10, x11, FIRST_FUNCTION_TYPE); |
+ __ CompareObjectType(x0, x10, x11, 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); |
} |