mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
parent
3479a798ea
commit
ded41ae04d
1 changed files with 5 additions and 1 deletions
|
|
@ -1788,7 +1788,11 @@ MacroAssemblerMIPS64Compat::storeValue(JSValueType type, Register reg, Address d
|
|||
|
||||
ma_li(SecondScratchReg, ImmTag(JSVAL_TYPE_TO_TAG(type)));
|
||||
ma_dsll(SecondScratchReg, SecondScratchReg, Imm32(JSVAL_TAG_SHIFT));
|
||||
ma_dins(SecondScratchReg, reg, Imm32(0), Imm32(JSVAL_TAG_SHIFT));
|
||||
if (type == JSVAL_TYPE_INT32 || type == JSVAL_TYPE_BOOLEAN) {
|
||||
ma_dins(SecondScratchReg, reg, Imm32(0), Imm32(32));
|
||||
} else {
|
||||
ma_dins(SecondScratchReg, reg, Imm32(0), Imm32(JSVAL_TAG_SHIFT));
|
||||
}
|
||||
storePtr(SecondScratchReg, Address(dest.base, dest.offset));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue