* Use LI(S) to copy constants into registers intead of ADDI(S) as the latter is
[oota-llvm.git] / lib / Target / TargetInstrInfo.cpp
index a3131bb319f556766df98d3dd8a16c87eaca655d..efcf9db4eb7ee997dc523796981e108ab3e9aff0 100644 (file)
@@ -24,9 +24,8 @@ namespace llvm {
 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)");