commit | f70c22b019494723d0e706f93d6542dfaa6e73a5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jun 17 18:19:28 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jun 17 18:19:28 2004 +0000 |
tree | 6f881c08a706deb8e6f0954a8e5ed53756b24167 | |
parent | 5dd04027c7133c358c16e8ec9a4bfca8788e3f90 [diff] [blame] |
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
diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp index fac772b..8d308ed 100644 --- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp +++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp
@@ -168,7 +168,7 @@ }; static TypeClass getClass (const Type *T) { - switch (T->getPrimitiveID ()) { + switch (T->getTypeID()) { case Type::UByteTyID: case Type::SByteTyID: return cByte; case Type::UShortTyID: case Type::ShortTyID: return cShort; case Type::PointerTyID: