Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 90b95e5594b2a80384d600db80fd2ff0fb21b287..23bb9575caacf5dd0ec964178b25fc30aed80a9c 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4749,7 +4749,7 @@ void FastNewObjectStub::Generate(MacroAssembler* masm) { |
__ lw(a2, FieldMemOperand(a3, JSFunction::kPrototypeOrInitialMapOffset)); |
__ JumpIfSmi(a2, &new_object); |
__ GetObjectType(a2, a0, a0); |
- __ Branch(&new_object, ne, a2, Operand(MAP_TYPE)); |
+ __ Branch(&new_object, ne, a0, Operand(MAP_TYPE)); |
// Fall back to runtime if the target differs from the new target's |
// initial map constructor. |