mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Temporarily revert this, it's causing an issue with an internal project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -229,9 +229,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD,
|
||||
const Function *CalledFunc = CS.getCalledFunction();
|
||||
if (CalledFunc == 0 || // Can't inline external function or indirect
|
||||
CalledFunc->isDeclaration() || // call, or call to a vararg function!
|
||||
CalledFunc->getFunctionType()->isVarArg() ||
|
||||
CS.isNoInline()) // Call site is marked noinline.
|
||||
return false;
|
||||
CalledFunc->getFunctionType()->isVarArg()) return false;
|
||||
|
||||
|
||||
// If the call to the callee is not a tail call, we must clear the 'tail'
|
||||
|
Reference in New Issue
Block a user