1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

dont specialize weak functions and the like

llvm-svn: 57305
This commit is contained in:
Nuno Lopes 2008-10-08 18:45:59 +00:00
parent 974799922e
commit a4813e472c

View File

@ -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);