[Renderscript] Fix typo in mips64 argument reading code.

A typo in the mips64 argument reading code would cause register passed arguments to be truncated to 32bits.

llvm-svn: 260546
This commit is contained in:
Aidan Dodds
2016-02-11 17:17:12 +00:00
parent dbfe8700cb
commit 72f775253f

View File

@@ -392,7 +392,7 @@ GetArgsMips64el(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args)
const RegisterInfo *rArg = ctx.reg_ctx->GetRegisterInfoAtIndex(i + c_reg_offset);
RegisterValue rVal;
if (ctx.reg_ctx->ReadRegister(rArg, rVal))
arg.value = rVal.GetAsUInt32(0, &success);
arg.value = rVal.GetAsUInt64(0, &success);
}
// arguments passed on the stack
else