1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-11-24 05:17:44 +00:00

Add local variable uniquification

For ACME and cc65, enable uniqification.  This works with my basic
tests, but there are a lot of potential edge cases.
This commit is contained in:
Andy McFadden
2019-08-31 14:10:59 -07:00
parent 6a2532588b
commit 02c79db749
12 changed files with 162 additions and 44 deletions

View File

@@ -117,7 +117,7 @@ namespace SourceGen {
}
public override string ToString() {
return "WeakSym: " + Label + ":" + ValuePart;
return "WeakSym: " + (IsVariable ? "var " : "") + Label + ":" + ValuePart;
}
}
}