#include "llvm/Value.h"
#include <map>
+namespace llvm {
+
class SymbolTable : public AbstractTypeUser,
public std::map<const Type *,
std::map<const std::string, Value *> > {
~SymbolTable();
// lookup - Returns null on failure...
- Value *lookup(const Type *Ty, const std::string &name);
+ Value *lookup(const Type *Ty, const std::string &name) const;
// insert - Add named definition to the symbol table...
inline void insert(Value *N) {
virtual void typeBecameConcrete(const DerivedType *AbsTy);
};
+} // End llvm namespace
+
#endif