commit | 6cee630070b1a7183ed56a8404e812629f5ca538 | [log] [tgz] |
---|---|---|
author | Jim Laskey <jlaskey@mac.com> | Tue Nov 01 20:06:59 2005 +0000 |
committer | Jim Laskey <jlaskey@mac.com> | Tue Nov 01 20:06:59 2005 +0000 |
tree | d5e1227dd79a99caa34d1d68b6170b9b15ddbaf8 | |
parent | cb366d980a389e5b9c3fc2b9aae373c0ba2903c6 [diff] [blame] |
Allow itineraries to be passed through the Target Machine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24139 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index c911ad3..3f7d5db 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -247,7 +247,7 @@ for (unsigned i = 0, N = DefList.size(); i < N; i++) { Record *Def = DefList[i]; - ItinClassMap[Def->getName()] = i + 1; + ItinClassMap[Def->getName()] = i; } }