From 04d5a7b337c1c20be397a6f9b71d33040f4d3dca Mon Sep 17 00:00:00 2001 From: Andrea Di Biagio Date: Tue, 15 Jul 2014 10:53:44 +0000 Subject: [PATCH] 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. llvm-svn: 213061 --- llvm/lib/Target/X86/X86FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 6cb640d..2d494b4 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -2919,7 +2919,7 @@ bool X86FastISel::FastLowerCall(CallLoweringInfo &CLI) { MachineInstrBuilder MIB; if (CalleeOp) { // 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)) .addReg(CalleeOp); } else { -- 2.7.4