| Index: src/mips64/code-stubs-mips64.cc
|
| diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc
|
| index 24e296716496cc1f04c42bbe5036c6b65ae84780..fd7632fba314fc1b70d6f3500d485740ca3fa01b 100644
|
| --- a/src/mips64/code-stubs-mips64.cc
|
| +++ b/src/mips64/code-stubs-mips64.cc
|
| @@ -1574,7 +1574,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);
|
| }
|
|
|
|
|
|
|