From dccd0cbec3d6eb835362d921c6bd33a5cc0a920f Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 29 Aug 2014 21:42:21 +0000 Subject: Add a const and munge some comments llvm-svn: 216781 --- llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 6570e141181..ff8d3ad1501 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -148,7 +148,7 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf, // If we have a musttail call in a variadic funciton, we need to ensure we // forward implicit register parameters. - if (auto *CI = dyn_cast(I)) { + if (const auto *CI = dyn_cast(I)) { if (CI->isMustTailCall() && Fn->isVarArg()) MF->getFrameInfo()->setHasMustTailInVarArgFunc(true); } -- cgit v1.2.3