| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index 54c611dcd937be718ad6a82c5594070ff6c8c428..08745417e4cbfebd0b7012f1859cdf1a49425a22 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -1494,7 +1494,8 @@ void InstanceOfStub::Generate(MacroAssembler* masm) {
|
| // Slow-case: Call the %InstanceOf runtime function.
|
| __ bind(&slow_case);
|
| __ Push(object, function);
|
| - __ TailCallRuntime(Runtime::kInstanceOf);
|
| + __ TailCallRuntime(is_es6_instanceof() ? Runtime::kOrdinaryHasInstance
|
| + : Runtime::kInstanceOf);
|
| }
|
|
|
|
|
|
|