[llvm-commits] CVS: llvm/lib/Target/TargetInstrInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 29 00:38:53 PST 2004


Changes in directory llvm/lib/Target:

TargetInstrInfo.cpp updated: 1.11 -> 1.12

---
Log message:

Adjust to change in TII ctor arguments


---
Diffs of the changes:  (+2 -3)

Index: llvm/lib/Target/TargetInstrInfo.cpp
diff -u llvm/lib/Target/TargetInstrInfo.cpp:1.11 llvm/lib/Target/TargetInstrInfo.cpp:1.12
--- llvm/lib/Target/TargetInstrInfo.cpp:1.11	Thu Jan 15 12:15:58 2004
+++ llvm/lib/Target/TargetInstrInfo.cpp	Sun Feb 29 00:31:32 2004
@@ -24,9 +24,8 @@
 const TargetInstrDescriptor* TargetInstrDescriptors = 0;
 
 TargetInstrInfo::TargetInstrInfo(const TargetInstrDescriptor* Desc,
-				 unsigned DescSize,
-				 unsigned NumRealOpCodes)
-  : desc(Desc), descSize(DescSize), numRealOpCodes(NumRealOpCodes) {
+				 unsigned numOpcodes)
+  : desc(Desc), NumOpcodes(numOpcodes) {
   // FIXME: TargetInstrDescriptors should not be global
   assert(TargetInstrDescriptors == NULL && desc != NULL
          && "TargetMachine data structure corrupt; maybe you tried to create another TargetMachine? (only one may exist in a program)");





More information about the llvm-commits mailing list