| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 1b65345f29b2cc2a95ad87e018d47d7e1128c4e7..089af265fe645a3d06da5b4c7782e8730407e608 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -2997,9 +2997,9 @@ void FullCodeGenerator::EmitIsFunction(CallRuntime* expr) {
|
| &if_true, &if_false, &fall_through);
|
|
|
| __ JumpIfSmi(rax, if_false);
|
| - __ CmpObjectType(rax, JS_FUNCTION_TYPE, rbx);
|
| + __ CmpObjectType(rax, FIRST_FUNCTION_TYPE, rbx);
|
| PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
|
| - Split(equal, if_true, if_false, fall_through);
|
| + Split(above_equal, if_true, if_false, fall_through);
|
|
|
| context()->Plug(if_true, if_false);
|
| }
|
|
|