summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Parser.h
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/Bytecode/Reader/Parser.h
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/Bytecode/Reader/Parser.h')
-rw-r--r--llvm/lib/Bytecode/Reader/Parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Reader/Parser.h b/llvm/lib/Bytecode/Reader/Parser.h
index 7856fc5447f..59023980b69 100644
--- a/llvm/lib/Bytecode/Reader/Parser.h
+++ b/llvm/lib/Bytecode/Reader/Parser.h
@@ -264,7 +264,7 @@ private:
/// fancy features are supported.
const Type *getGlobalTableType(unsigned Slot) {
if (Slot < Type::FirstDerivedTyID) {
- const Type *Ty = Type::getPrimitiveType((Type::PrimitiveID)Slot);
+ const Type *Ty = Type::getPrimitiveType((Type::TypeID)Slot);
assert(Ty && "Not a primitive type ID?");
return Ty;
}
@@ -276,7 +276,7 @@ private:
unsigned getGlobalTableTypeSlot(const Type *Ty) {
if (Ty->isPrimitiveType())
- return Ty->getPrimitiveID();
+ return Ty->getTypeID();
TypeListTy::iterator I = find(ModuleTypes.begin(),
ModuleTypes.end(), Ty);
if (I == ModuleTypes.end())
OpenPOWER on IntegriCloud