mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1068725: Use actual input's type for a move when reifying allocations with backtracking regalloc; r=sunfish
This commit is contained in:
parent
ab3e578a53
commit
c404ead360
@ -1128,7 +1128,7 @@ BacktrackingAllocator::reifyAllocations()
|
||||
|
||||
if (*res != *alloc) {
|
||||
LMoveGroup *group = getInputMoveGroup(inputOf(ins));
|
||||
if (!group->addAfter(sourceAlloc, res, def->type()))
|
||||
if (!group->addAfter(sourceAlloc, res, reg->type()))
|
||||
return false;
|
||||
*alloc = *res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user