///
Argument(const Type *Ty, const std::string &Name = "", Function *F = 0);
- /// setName - Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ /// setName - Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
inline const Function *getParent() const { return Parent; }
inline Function *getParent() { return Parent; }
~BasicBlock();
// Specialize setName to take care of symbol table majik
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ virtual void setName(const std::string &name);
/// getParent - Return the enclosing method, or null if none
///
void destroyConstantImpl();
public:
- // setName - Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ // setName - Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
/// Static constructor to get a '0' constant of arbitrary type...
///
const std::string &N = "", Module *M = 0);
~Function();
- // Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ // Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
const Type *getReturnType() const; // Return the type of the ret val
const FunctionType *getFunctionType() const; // Return the FunctionType for me
Constant *Initializer = 0, const std::string &Name = "",
Module *Parent = 0);
- // Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ // Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
/// isExternal - Is this global variable lacking an initializer? If so, the
/// global variable is defined in some other translation unit, and is thus
assert(Parent == 0 && "Instruction still linked in the program!");
}
- // Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ // Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
/// mayWriteToMemory - Return true if this instruction may modify memory.
///
inline bool hasName() const { return !Name.empty(); }
inline const std::string &getName() const { return Name; }
- virtual void setName(const std::string &name, SymbolTable * = 0) {
+ virtual void setName(const std::string &name) {
Name = name;
}