Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index e2a313372e6be6e4501a46aa5740182b911676c7..a4c81479808c4b2c64ddb80f1eff120e9c5f6553 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -3913,7 +3913,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); |