[WebAssembly] Minor code simplification. NFC.
llvm-svn: 256300
This commit is contained in:
parent
db70d015ad
commit
cc38ba1954
|
@ -124,7 +124,7 @@ bool WebAssemblyLowerBrUnless::runOnMachineFunction(MachineFunction &MF) {
|
||||||
assert(Inverted);
|
assert(Inverted);
|
||||||
BuildMI(MBB, MI, MI->getDebugLoc(), TII.get(WebAssembly::BR_IF))
|
BuildMI(MBB, MI, MI->getDebugLoc(), TII.get(WebAssembly::BR_IF))
|
||||||
.addReg(Cond)
|
.addReg(Cond)
|
||||||
.addMBB(MI->getOperand(1).getMBB());
|
.addOperand(MI->getOperand(1));
|
||||||
MBB.erase(MI);
|
MBB.erase(MI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue