diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-09 16:48:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-09 16:48:13 +0000 |
commit | 36002e43ec07d2f61bd38f38bcc52da79f2904cb (patch) | |
tree | bc0984eed45def129e686ed341911b2e889641b9 | |
parent | 9fb6cf1d82617994cd6dad33ecd45c1e913534aa (diff) |
Remove unused method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14726 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Type.h | 5 | ||||
-rw-r--r-- | lib/VMCore/Type.cpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 39b73ce81a..a78c746fa1 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -126,11 +126,6 @@ public: /// @brief Debugging support: print to stderr virtual void dump() const; - /// setName - Associate the name with this type in the symbol table, but don't - /// set the local name to be equal specified name. - /// - virtual void setName(const std::string &Name, SymbolTable *ST = 0); - //===--------------------------------------------------------------------===// // Property accessors for dealing with types... Some of these virtual methods // are defined in private classes defined in Type.cpp for primitive types. diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index fd2a1cccc6..32b783b0d1 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -49,11 +49,6 @@ Type::Type( const std::string& name, TypeID id ) 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; |