Index: src/mips64/deoptimizer-mips64.cc |
diff --git a/src/mips64/deoptimizer-mips64.cc b/src/mips64/deoptimizer-mips64.cc |
index 2550b765b3ede8d77dfc5ba372f2ed4e6aef72dc..f903f465655ae943fcbcd09629e9591433699b6b 100644 |
--- a/src/mips64/deoptimizer-mips64.cc |
+++ b/src/mips64/deoptimizer-mips64.cc |
@@ -101,9 +101,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); |
} |