mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Add new addTypeName method to Module class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,6 +63,12 @@ public:
|
||||
//
|
||||
Function *getFunction(const std::string &Name, const FunctionType *Ty);
|
||||
|
||||
// addTypeName - Insert an entry in the symbol table mapping Str to Type. If
|
||||
// there is already an entry for this name, true is returned and the symbol
|
||||
// table is not modified.
|
||||
//
|
||||
bool addTypeName(const std::string &Name, const Type *Ty);
|
||||
|
||||
// Get the underlying elements of the Module...
|
||||
inline const GlobalListType &getGlobalList() const { return GlobalList; }
|
||||
inline GlobalListType &getGlobalList() { return GlobalList; }
|
||||
|
||||
Reference in New Issue
Block a user