OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d186dd4
)
Fix WebAssembly broken build related to interface change in r281172.
author
Eric Liu
<ioeric@google.com>
Mon, 12 Sep 2016 09:35:59 +0000
(09:35 +0000)
committer
Eric Liu
<ioeric@google.com>
Mon, 12 Sep 2016 09:35:59 +0000
(09:35 +0000)
Reviewers: bkramer
Subscribers: jfb, llvm-commits, dschuff
Differential Revision: https://reviews.llvm.org/D24449
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281201
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
b/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
index
5d4ea5b
..
047ce41
100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
@@
-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;
}
}