| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 0cc21c4351e3c9fe5124e8e37a149a3fb1d0624f..c255566e16747d9af8a64a8463252bcb3a6d3f5b 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -4869,7 +4869,7 @@ void InstanceofStub::Generate(MacroAssembler* masm) {
|
| }
|
|
|
| // Get the prototype of the function.
|
| - __ TryGetFunctionPrototype(function, prototype, scratch, &slow);
|
| + __ TryGetFunctionPrototype(function, prototype, scratch, &slow, true);
|
|
|
| // Check that the function prototype is a JS object.
|
| __ JumpIfSmi(prototype, &slow);
|
|
|