[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 9 11:49:07 PDT 2004
Changes in directory llvm/lib/VMCore:
Type.cpp updated: 1.109 -> 1.110
---
Log message:
Remove unused method
---
Diffs of the changes: (+0 -5)
Index: llvm/lib/VMCore/Type.cpp
diff -u llvm/lib/VMCore/Type.cpp:1.109 llvm/lib/VMCore/Type.cpp:1.110
--- llvm/lib/VMCore/Type.cpp:1.109 Thu Jul 8 17:31:09 2004
+++ llvm/lib/VMCore/Type.cpp Fri Jul 9 11:47:54 2004
@@ -49,11 +49,6 @@
Abstract = false;
}
-void Type::setName(const std::string &Name, SymbolTable *ST) {
- assert(ST && "Type::setName - Must provide symbol table argument!");
- if (!Name.empty()) ST->insert(Name, this);
-}
-
const Type *Type::getPrimitiveType(TypeID IDNumber) {
switch (IDNumber) {
case VoidTyID : return VoidTy;
More information about the llvm-commits
mailing list