mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Fix WebAssembly broken build related to interface change in r281172.
Reviewers: bkramer Subscribers: jfb, llvm-commits, dschuff Differential Revision: https://reviews.llvm.org/D24449 llvm-svn: 281201
This commit is contained in:
parent
48fc83c3a6
commit
fc6f0ee73b
@ -812,8 +812,7 @@ bool WebAssemblyRegStackify::runOnMachineFunction(MachineFunction &MF) {
|
||||
// the next instruction we can build a tree on.
|
||||
if (Insert != &*MII) {
|
||||
ImposeStackOrdering(&*MII);
|
||||
MII = std::prev(
|
||||
llvm::make_reverse_iterator(MachineBasicBlock::iterator(Insert)));
|
||||
MII = MachineBasicBlock::iterator(Insert).getReverse();
|
||||
Changed = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user