aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-25 19:49:33 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-25 19:49:33 +0000
commit4fda9670f0a9cd448d1905ab669421316b8864c5 (patch)
tree910d029c7f10e84cb691b878c4c8a18197bf3465 /include/llvm/Target
parent39e2dd7bab1925e12d4a03ae7abca0eff87274d6 (diff)
downloadexternal_llvm-4fda9670f0a9cd448d1905ab669421316b8864c5.zip
external_llvm-4fda9670f0a9cd448d1905ab669421316b8864c5.tar.gz
external_llvm-4fda9670f0a9cd448d1905ab669421316b8864c5.tar.bz2
Remove NumberHack entirely.
SubRegIndex instances are now numbered uniquely the same way Register instances are - in lexicographical order by name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/Target.td6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td
index 5fd69cf..9e0ad6f 100644
--- a/include/llvm/Target/Target.td
+++ b/include/llvm/Target/Target.td
@@ -21,13 +21,9 @@ include "llvm/Intrinsics.td"
class RegisterClass; // Forward def
-// SubRegIndex - Use instances on SubRegIndex to identify subregisters.
+// SubRegIndex - Use instances of SubRegIndex to identify subregisters.
class SubRegIndex {
string Namespace = "";
-
- // This explicit numbering is going away after RegisterClass::SubRegClassList
- // is replaced.
- int NumberHack;
}
// Register - You should define one instance of this class for each register