[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:34:10 PDT 2016
ioeric created this revision.
ioeric added a reviewer: bkramer.
ioeric added a subscriber: llvm-commits.
Herald added subscribers: dschuff, jfb.
https://reviews.llvm.org/D24449
Files:
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
Index: lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
===================================================================
--- lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
+++ 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.70983.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/12c65d92/attachment.bin>
More information about the llvm-commits
mailing list