mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00: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
4a83ef1127
commit
a1bb30a61f
@ -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