Unless we CANNOT merge the arguments, do so

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-20 23:50:38 +00:00
parent 09dcfda722
commit b29170fa40

View File

@ -69,7 +69,9 @@ static bool ResolveFunctions(Module &M, std::vector<GlobalValue*> &Globals,
std::cerr << "WARNING: Function [" << Old->getName() std::cerr << "WARNING: Function [" << Old->getName()
<< "]: Parameter types conflict for: '" << OldMT << "]: Parameter types conflict for: '" << OldMT
<< "' and '" << ConcreteMT << "'\n"; << "' and '" << ConcreteMT << "'\n";
return Changed; if (OldMT->getParamTypes()[i]->getPrimitiveID() !=
ConcreteMT->getParamTypes()[i]->getPrimitiveID())
return Changed;
} }
// Attempt to convert all of the uses of the old function to the concrete // Attempt to convert all of the uses of the old function to the concrete