aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/FunctionResolution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-17 18:19:28 +0000
committerChris Lattner <sabre@nondot.org>2004-06-17 18:19:28 +0000
commitf70c22b019494723d0e706f93d6542dfaa6e73a5 (patch)
tree6f881c08a706deb8e6f0954a8e5ed53756b24167 /lib/Transforms/IPO/FunctionResolution.cpp
parent5dd04027c7133c358c16e8ec9a4bfca8788e3f90 (diff)
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/FunctionResolution.cpp')
-rw-r--r--lib/Transforms/IPO/FunctionResolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp
index d0179809b9..528c8acce1 100644
--- a/lib/Transforms/IPO/FunctionResolution.cpp
+++ b/lib/Transforms/IPO/FunctionResolution.cpp
@@ -79,8 +79,8 @@ static bool ResolveFunctions(Module &M, std::vector<GlobalValue*> &Globals,
if (!Old->use_empty() && !Concrete->use_empty())
for (unsigned i = 0; i < NumArguments; ++i)
if (OldMT->getParamType(i) != ConcreteMT->getParamType(i))
- if (OldMT->getParamType(i)->getPrimitiveID() !=
- ConcreteMT->getParamType(i)->getPrimitiveID()) {
+ if (OldMT->getParamType(i)->getTypeID() !=
+ ConcreteMT->getParamType(i)->getTypeID()) {
std::cerr << "WARNING: Function [" << Old->getName()
<< "]: Parameter types conflict for: '";
WriteTypeSymbolic(std::cerr, OldMT, &M);