mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 733353 - IonMonkey: Don't allocate new instruction IDs when moving existing instructions. r=jandem
This commit is contained in:
parent
f769c20789
commit
7fb5b20e0b
@ -691,7 +691,9 @@ MBasicBlock::moveBefore(MInstruction *at, MInstruction *ins)
|
||||
|
||||
// Insert into new block, which may be distinct.
|
||||
// Uses and operands are untouched.
|
||||
at->block()->insertBefore(at, ins);
|
||||
ins->setBlock(at->block());
|
||||
at->block()->instructions_.insertBefore(at, ins);
|
||||
ins->setTrackedSite(at->trackedSite());
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Loading…
Reference in New Issue
Block a user