Symbolize the default instruction distance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2011-03-04 18:36:51 +00:00
parent e90756d8a0
commit bee41501fa
2 changed files with 13 additions and 10 deletions

View File

@ -110,6 +110,12 @@ namespace llvm {
}
public:
enum {
/// The default distance between instructions as returned by distance().
/// This may vary as instructions are inserted and removed.
InstrDist = 2*NUM
};
static inline SlotIndex getEmptyKey() {
return SlotIndex(0, 1);
}