summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Linker.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
commit6b7275996c78e50ca8b7d13625296b92d74b86c7 (patch)
tree75817e19a6f0bb380bf1a9ba39f0664076fb5705 /llvm/lib/Transforms/Utils/Linker.cpp
parent97bfcea262bbdeba8f8d468ff999008a4c448474 (diff)
downloadbcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.tar.gz
bcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.zip
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
llvm-svn: 14201
Diffstat (limited to 'llvm/lib/Transforms/Utils/Linker.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Linker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/Linker.cpp b/llvm/lib/Transforms/Utils/Linker.cpp
index 6220140afe3..00906a46a26 100644
--- a/llvm/lib/Transforms/Utils/Linker.cpp
+++ b/llvm/lib/Transforms/Utils/Linker.cpp
@@ -97,10 +97,10 @@ static bool RecursiveResolveTypesI(const PATypeHolder &DestTy,
// Two types cannot be resolved together if they are of different primitive
// type. For example, we cannot resolve an int to a float.
- if (DestTyT->getPrimitiveID() != SrcTyT->getPrimitiveID()) return true;
+ if (DestTyT->getTypeID() != SrcTyT->getTypeID()) return true;
// Otherwise, resolve the used type used by this derived type...
- switch (DestTyT->getPrimitiveID()) {
+ switch (DestTyT->getTypeID()) {
case Type::FunctionTyID: {
if (cast<FunctionType>(DestTyT)->isVarArg() !=
cast<FunctionType>(SrcTyT)->isVarArg() ||
OpenPOWER on IntegriCloud