SymTabValues no longer hold constant pools
authorChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:21:04 +0000 (16:21 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:21:04 +0000 (16:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@424 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/SymTabValue.h

index f86218d198b55affb3fdc5ce8d03e0838641c0be..710dbc00d406c3a42f837fe0a38ecf8f6436f89f 100644 (file)
@@ -8,18 +8,12 @@
 #ifndef LLVM_SYMTAB_VALUE_H
 #define LLVM_SYMTAB_VALUE_H
 
-#include "llvm/ConstantPool.h"
-
 class SymbolTable;
-class ConstPoolVal;
 class Value;
 
 class SymTabValue {
-public:
-  typedef ConstantPool ConstantPoolType;
 private:
   SymbolTable *SymTab, *ParentSymTab;
-  ConstantPool ConstPool;   // The constant pool
   Value *ValueParent;
 
 protected:
@@ -42,9 +36,6 @@ public:
   inline       SymbolTable *getSymbolTable()       { return SymTab; }
   inline const SymbolTable *getSymbolTable() const { return SymTab; }
 
-  inline const ConstantPool &getConstantPool() const{ return ConstPool; }
-  inline       ConstantPool &getConstantPool()      { return ConstPool; }
-
   // getSymbolTableSure is guaranteed to not return a null pointer, because if
   // the method does not already have a symtab, one is created.  Use this if
   // you intend to put something into the symbol table for the method.