Index: src/mips/deoptimizer-mips.cc |
diff --git a/src/mips/deoptimizer-mips.cc b/src/mips/deoptimizer-mips.cc |
index dd9832d56c4ced7b971cba8357a3db9b902ffc4c..b40d7f45ff92e300a9e6cb15e2a94124f00d9ac6 100644 |
--- a/src/mips/deoptimizer-mips.cc |
+++ b/src/mips/deoptimizer-mips.cc |
@@ -102,9 +102,8 @@ void Deoptimizer::SetPlatformCompiledStubRegisters( |
ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); |
intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); |
int params = descriptor->GetHandlerParameterCount(); |
- output_frame->SetRegister(s0.code(), params); |
- output_frame->SetRegister(s1.code(), (params - 1) * kPointerSize); |
- output_frame->SetRegister(s2.code(), handler); |
+ output_frame->SetRegister(a0.code(), params); |
+ output_frame->SetRegister(a1.code(), handler); |
} |