mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Convert typerec to be a structure instead of a pair
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,9 +28,9 @@ static string getCaption(const DSNode *N, const DSGraph *G) {
|
||||
Module *M = G && &G->getFunction() ? G->getFunction().getParent() : 0;
|
||||
|
||||
for (unsigned i = 0, e = N->getTypeEntries().size(); i != e; ++i) {
|
||||
WriteTypeSymbolic(OS, N->getTypeEntries()[i].first, M);
|
||||
if (N->getTypeEntries()[i].second)
|
||||
OS << "@" << N->getTypeEntries()[i].second;
|
||||
WriteTypeSymbolic(OS, N->getTypeEntries()[i].Ty, M);
|
||||
if (N->getTypeEntries()[i].Offset)
|
||||
OS << "@" << N->getTypeEntries()[i].Offset;
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user