Allow direct access to mergemap for printing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-16 01:17:16 +00:00
parent 04b72c821e
commit d6d8f41699
2 changed files with 10 additions and 0 deletions

View File

@ -192,6 +192,11 @@ public:
return 0;
}
int getMergeMapLabel(unsigned i) {
assert(i < MergeMap.size() && "MergeMap index out of range!");
return MergeMap[i];
}
/// setLink - Set the link at the specified offset to the specified
/// NodeHandle, replacing what was there. It is uncommon to use this method,
/// instead one of the higher level methods should be used, below.

View File

@ -192,6 +192,11 @@ public:
return 0;
}
int getMergeMapLabel(unsigned i) {
assert(i < MergeMap.size() && "MergeMap index out of range!");
return MergeMap[i];
}
/// setLink - Set the link at the specified offset to the specified
/// NodeHandle, replacing what was there. It is uncommon to use this method,
/// instead one of the higher level methods should be used, below.