summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-08-29 21:42:21 +0000
committerReid Kleckner <reid@kleckner.net>2014-08-29 21:42:21 +0000
commitdccd0cbec3d6eb835362d921c6bd33a5cc0a920f (patch)
treed7621c55c439da3cc1574aa89303ba25135cba35 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
parent16e5541211b527b4403f471834e890c7ce82a49d (diff)
downloadbcm5719-llvm-dccd0cbec3d6eb835362d921c6bd33a5cc0a920f.tar.gz
bcm5719-llvm-dccd0cbec3d6eb835362d921c6bd33a5cc0a920f.zip
Add a const and munge some comments
llvm-svn: 216781
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp2
1 files changed, 1 insertions, 1 deletions
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<CallInst>(I)) {
+ if (const auto *CI = dyn_cast<CallInst>(I)) {
if (CI->isMustTailCall() && Fn->isVarArg())
MF->getFrameInfo()->setHasMustTailInVarArgFunc(true);
}
OpenPOWER on IntegriCloud