Index: src/mips64/interface-descriptors-mips64.cc |
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc |
index f683df9e80ad073c9748c3436b5f5053ff0f00db..6a4329f8bc1bbf8a6b7e2ede4c5a64c255795464 100644 |
--- a/src/mips64/interface-descriptors-mips64.cc |
+++ b/src/mips64/interface-descriptors-mips64.cc |
@@ -373,8 +373,8 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
Register registers[] = { |
- a1, // context |
- a2, // math rounding function |
+ cp, // context |
+ a1, // math rounding function |
a3, // vector slot id |
}; |
Representation representations[] = { |