mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
Silence a warning in conditional expression.
Fixes a gcc warning caused by a typo. A redundant assignment operation was accidentally used as the third operand of a conditional expression. No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2919,7 +2919,7 @@ bool X86FastISel::FastLowerCall(CallLoweringInfo &CLI) {
|
|||||||
MachineInstrBuilder MIB;
|
MachineInstrBuilder MIB;
|
||||||
if (CalleeOp) {
|
if (CalleeOp) {
|
||||||
// Register-indirect call.
|
// Register-indirect call.
|
||||||
unsigned CallOpc = Is64Bit ? X86::CALL64r : CallOpc = X86::CALL32r;
|
unsigned CallOpc = Is64Bit ? X86::CALL64r : X86::CALL32r;
|
||||||
MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc))
|
MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc))
|
||||||
.addReg(CalleeOp);
|
.addReg(CalleeOp);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user