Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 4eb11942a5efb6a952d9e89a4d64eb11cf948fab..407168a109fd59e9a4b4219c04594d45059e5d99 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -1572,9 +1572,7 @@ void InstanceofStub::Generate(MacroAssembler* masm) { |
__ Branch(&slow, ne, scratch, Operand(JS_FUNCTION_TYPE)); |
// Null is not instance of anything. |
- __ Branch(&object_not_null, |
- ne, |
- scratch, |
+ __ Branch(&object_not_null, ne, object, |
Operand(isolate()->factory()->null_value())); |
if (ReturnTrueFalseObject()) { |
__ LoadRoot(v0, Heap::kFalseValueRootIndex); |