projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee08350
)
[WebAssembly] Minor code simplification. NFC.
author
Dan Gohman
<dan433584@gmail.com>
Tue, 22 Dec 2015 23:39:16 +0000
(23:39 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Tue, 22 Dec 2015 23:39:16 +0000
(23:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256300
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
b/lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
index 846f6eb1e5cff24ec50b1854b3f7c8f3a377df80..b009a4e054ccd35935d4644cab1dedd0a2d20da5 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
@@
-124,7
+124,7
@@
bool WebAssemblyLowerBrUnless::runOnMachineFunction(MachineFunction &MF) {
assert(Inverted);
BuildMI(MBB, MI, MI->getDebugLoc(), TII.get(WebAssembly::BR_IF))
.addReg(Cond)
- .add
MBB(MI->getOperand(1).getMBB(
));
+ .add
Operand(MI->getOperand(1
));
MBB.erase(MI);
}
}