mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 865024 - Avoid using overlapping registers when lowering SetDOMProperty, r=jandem.
This commit is contained in:
parent
bab5219019
commit
0af9578a73
@ -2641,8 +2641,8 @@ LIRGenerator::visitSetDOMProperty(MSetDOMProperty *ins)
|
||||
// Keep using GetTempRegForIntArg, since we want to make sure we
|
||||
// don't clobber registers we're already using.
|
||||
Register tempReg1, tempReg2;
|
||||
GetTempRegForIntArg(2, 0, &tempReg1);
|
||||
mozilla::DebugOnly<bool> ok = GetTempRegForIntArg(3, 0, &tempReg2);
|
||||
GetTempRegForIntArg(4, 0, &tempReg1);
|
||||
mozilla::DebugOnly<bool> ok = GetTempRegForIntArg(5, 0, &tempReg2);
|
||||
MOZ_ASSERT(ok, "How can we not have six temp registers?");
|
||||
if (!useBoxFixed(lir, LSetDOMProperty::Value, val, tempReg1, tempReg2))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user