| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index 06e43301000c6f77341a4c4a1e265ed097f29e78..f5787efc50bc557dfcb44872aa228fae6e09295a 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -3011,9 +3011,9 @@ void FullCodeGenerator::EmitIsFunction(CallRuntime* expr) {
|
| &if_true, &if_false, &fall_through);
|
|
|
| __ JumpIfSmi(eax, if_false);
|
| - __ CmpObjectType(eax, JS_FUNCTION_TYPE, ebx);
|
| + __ CmpObjectType(eax, FIRST_FUNCTION_TYPE, ebx);
|
| 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);
|
| }
|
|
|