mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #3049 - Fix loongarch64 string extraction in JIT stubs
This commit is contained in:
parent
49dc8031ce
commit
2bc0085021
2 changed files with 8 additions and 2 deletions
|
|
@ -1656,10 +1656,12 @@ class MacroAssembler : public MacroAssemblerSpecific
|
|||
Register temp, Label* failure);
|
||||
|
||||
Register extractString(const Address& address, Register scratch) {
|
||||
return extractObject(address, scratch);
|
||||
unboxString(address, scratch);
|
||||
return scratch;
|
||||
}
|
||||
Register extractString(const ValueOperand& value, Register scratch) {
|
||||
return extractObject(value, scratch);
|
||||
unboxString(value, scratch);
|
||||
return scratch;
|
||||
}
|
||||
|
||||
using MacroAssemblerSpecific::extractTag;
|
||||
|
|
|
|||
|
|
@ -2764,6 +2764,10 @@ template void MacroAssembler::storeUnboxedValue(const ConstantOrRegister& value,
|
|||
MIRType valueType,
|
||||
const Address& dest,
|
||||
MIRType slotType);
|
||||
template void MacroAssembler::storeUnboxedValue(const ConstantOrRegister& value,
|
||||
MIRType valueType,
|
||||
const BaseIndex& dest,
|
||||
MIRType slotType);
|
||||
template void MacroAssembler::storeUnboxedValue(
|
||||
const ConstantOrRegister& value, MIRType valueType,
|
||||
const BaseObjectElementIndex& dest, MIRType slotType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue