mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 06:35:25 +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:
@@ -144,8 +144,8 @@ void Function::eraseFromParent() {
|
||||
/// required before printing out to a textual form, to ensure that there is no
|
||||
/// ambiguity when parsing.
|
||||
void Function::renameLocalSymbols() {
|
||||
SymbolTable &LST = getSymbolTable(); // Local Symtab
|
||||
SymbolTable &GST = getParent()->getSymbolTable(); // Global Symtab
|
||||
SymbolTable &LST = getValueSymbolTable(); // Local Symtab
|
||||
SymbolTable &GST = getParent()->getValueSymbolTable(); // Global Symtab
|
||||
|
||||
for (SymbolTable::plane_iterator LPI = LST.plane_begin(), E = LST.plane_end();
|
||||
LPI != E; ++LPI)
|
||||
|
||||
Reference in New Issue
Block a user