Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 44923a1843d63736df76bafa052b9f26e416cdfb..3afa76c9bbeea22fb64ab1f29e02c74c249b4620 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); |