mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017036 - IonMonkey MIPS: Fix minor build issues. r=nbp
This commit is contained in:
parent
dcfc0b674d
commit
d942184024
@ -250,7 +250,7 @@ void
|
|||||||
MacroAssemblerMIPS::ma_li(Register dest, ImmGCPtr ptr)
|
MacroAssemblerMIPS::ma_li(Register dest, ImmGCPtr ptr)
|
||||||
{
|
{
|
||||||
writeDataRelocation(ptr);
|
writeDataRelocation(ptr);
|
||||||
ma_liPatchable(dest, Imm32(ptr.value));
|
ma_liPatchable(dest, Imm32(uintptr_t(ptr.value)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -2495,6 +2495,12 @@ MacroAssemblerMIPSCompat::unboxObject(const ValueOperand &src, Register dest)
|
|||||||
ma_move(dest, src.payloadReg());
|
ma_move(dest, src.payloadReg());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
MacroAssemblerMIPSCompat::unboxObject(const Address &src, Register dest)
|
||||||
|
{
|
||||||
|
ma_lw(dest, Address(src.base, src.offset + PAYLOAD_OFFSET));
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
MacroAssemblerMIPSCompat::unboxValue(const ValueOperand &src, AnyRegister dest)
|
MacroAssemblerMIPSCompat::unboxValue(const ValueOperand &src, AnyRegister dest)
|
||||||
{
|
{
|
||||||
|
@ -494,7 +494,7 @@ class MacroAssemblerMIPSCompat : public MacroAssemblerMIPS
|
|||||||
}
|
}
|
||||||
|
|
||||||
CodeOffsetLabel movWithPatch(ImmWord imm, Register dest) {
|
CodeOffsetLabel movWithPatch(ImmWord imm, Register dest) {
|
||||||
CodeOffsetLabel label = currentOffset();
|
CodeOffsetLabel label = CodeOffsetLabel(currentOffset());
|
||||||
ma_liPatchable(dest, Imm32(imm.value));
|
ma_liPatchable(dest, Imm32(imm.value));
|
||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
@ -547,6 +547,7 @@ class MacroAssemblerMIPSCompat : public MacroAssemblerMIPS
|
|||||||
void unboxString(const ValueOperand &operand, Register dest);
|
void unboxString(const ValueOperand &operand, Register dest);
|
||||||
void unboxString(const Address &src, Register dest);
|
void unboxString(const Address &src, Register dest);
|
||||||
void unboxObject(const ValueOperand &src, Register dest);
|
void unboxObject(const ValueOperand &src, Register dest);
|
||||||
|
void unboxObject(const Address &src, Register dest);
|
||||||
void unboxValue(const ValueOperand &src, AnyRegister dest);
|
void unboxValue(const ValueOperand &src, AnyRegister dest);
|
||||||
void unboxPrivate(const ValueOperand &src, Register dest);
|
void unboxPrivate(const ValueOperand &src, Register dest);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user