| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 5600e69f3c71bf53fe99d62d5d62b589d6bb5d05..c3b928df8dfa30e45014d51e7f21f7035d2ed4ea 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -3143,9 +3143,9 @@ void FullCodeGenerator::EmitIsFunction(CallRuntime* expr) {
|
| &if_false, &fall_through);
|
|
|
| __ JumpIfSmi(r3, if_false);
|
| - __ CompareObjectType(r3, r4, r5, JS_FUNCTION_TYPE);
|
| + __ CompareObjectType(r3, r4, r5, FIRST_FUNCTION_TYPE);
|
| PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
|
| - Split(eq, if_true, if_false, fall_through);
|
| + Split(ge, if_true, if_false, fall_through);
|
|
|
| context()->Plug(if_true, if_false);
|
| }
|
|
|