+ inline void insert(Value *N) {
+ assert(N->hasName() && "Value must be named to go into symbol table!");
+ insertEntry(N->getName(), N);
+ }
+
+ // insert - Insert a constant or type into the symbol table with the specified
+ // name... There can be a many to one mapping between names and
+ // (constant/type)s.
+ //
+ inline void insert(const string &Name, Value *V) {
+ assert((V->isType() || V->isConstant()) &&
+ "Can only insert types and constants here!");
+ insertEntry(Name, V);
+ }