mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add a const and munge some comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user