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

Chris Lattner lattner at cs.uiuc.edu
Tue Jan 11 12:25:41 PST 2005



Changes in directory llvm/lib/Target:

TargetLowering.cpp updated: 1.1 -> 1.2
---
Log message:

Clear the whole array, always.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.1 llvm/lib/Target/TargetLowering.cpp:1.2
--- llvm/lib/Target/TargetLowering.cpp:1.1	Fri Jan  7 01:44:53 2005
+++ llvm/lib/Target/TargetLowering.cpp	Tue Jan 11 14:25:26 2005
@@ -23,7 +23,7 @@
 
   IsLittleEndian = TD.isLittleEndian();
   PointerTy = getValueType(TD.getIntPtrType());
-  memset(UnsupportedOps, 0, ISD::BUILTIN_OP_END*sizeof(short));
+  memset(UnsupportedOps, 0, 128*sizeof(short));
   memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
 }
 






More information about the llvm-commits mailing list