[PATCH] D24449: Fix WebAssembly broken build related to interface change in r281172.
Eric Liu via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 02:44:36 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL281201: Fix WebAssembly broken build related to interface change in r281172. (authored by ioeric).
Changed prior to commit:
https://reviews.llvm.org/D24449?vs=70983&id=70984#toc
Repository:
rL LLVM
https://reviews.llvm.org/D24449
Files:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
Index: llvm/trunk/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
@@ -812,8 +812,7 @@
// 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;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24449.70984.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/79bca257/attachment.bin>
More information about the llvm-commits
mailing list