mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1170859- MIPS64: Fix copy u32 type arg to argument register. r=froydnj
This commit is contained in:
parent
a881708c55
commit
dcf2b9d940
@ -77,7 +77,9 @@ invoke_copy_to_stack(uint64_t* d, uint32_t paramCount,
|
||||
break;
|
||||
case nsXPTType::T_U32:
|
||||
if (i < N_ARG_REGS)
|
||||
regs[i] = s->val.u32;
|
||||
// 32-bit values need to be sign-extended
|
||||
// in register, so use the signed value.
|
||||
regs[i] = s->val.i32;
|
||||
else
|
||||
*d++ = s->val.u32;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user