mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Miscellaneous cleanups:
* Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -23,7 +23,7 @@ static bool StripSymbolTable(SymbolTable *SymTab) {
|
||||
if (SymTab == 0) return false; // No symbol table? No problem.
|
||||
bool RemovedSymbol = false;
|
||||
|
||||
for (SymbolTable::iterator I = SymTab->begin(); I != SymTab->end(); I++) {
|
||||
for (SymbolTable::iterator I = SymTab->begin(); I != SymTab->end(); ++I) {
|
||||
map<const string, Value *> &Plane = I->second;
|
||||
|
||||
map<const string, Value *>::iterator B;
|
||||
|
Reference in New Issue
Block a user