mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
dont specialize weak functions and the like
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
309c80adb5
commit
7a85a62f50
@ -108,7 +108,7 @@ bool PartSpec::runOnModule(Module &M) {
|
||||
bool Changed = false;
|
||||
for (Module::iterator I = M.begin(); I != M.end(); ++I) {
|
||||
Function &F = *I;
|
||||
if (F.isDeclaration()) continue;
|
||||
if (F.isDeclaration() || F.mayBeOverridden()) continue;
|
||||
SmallVector<int, 6> interestingArgs;
|
||||
scanForInterest(F, interestingArgs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user