[WebAssembly] Minor code simplification. NFC.

llvm-svn: 256300
This commit is contained in:
Dan Gohman 2015-12-22 23:39:16 +00:00
parent db70d015ad
commit cc38ba1954
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ bool WebAssemblyLowerBrUnless::runOnMachineFunction(MachineFunction &MF) {
assert(Inverted);
BuildMI(MBB, MI, MI->getDebugLoc(), TII.get(WebAssembly::BR_IF))
.addReg(Cond)
.addMBB(MI->getOperand(1).getMBB());
.addOperand(MI->getOperand(1));
MBB.erase(MI);
}
}