mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
For PR411:
Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -111,12 +111,12 @@ public:
|
||||
/// Remove a type at the specified position in the symbol table.
|
||||
/// @returns the removed Type.
|
||||
/// @returns the Type that was erased from the symbol table.
|
||||
Type* erase(iterator TI);
|
||||
Type* remove(iterator TI);
|
||||
|
||||
/// Remove a specific Type from the symbol table. This isn't fast, linear
|
||||
/// search, O(n), algorithm.
|
||||
/// @returns true if the erase was successful (TI was found)
|
||||
bool erase(Type* TI);
|
||||
bool remove(Type* TI);
|
||||
|
||||
/// Rename a type. This ain't fast, we have to linearly search for it first.
|
||||
/// @returns true if the rename was successful (type was found)
|
||||
|
Reference in New Issue
Block a user