diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-11 20:25:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-11 20:25:26 +0000 |
commit | 7abf8201827be0c65272ca76d8afca0e46062be1 (patch) | |
tree | d7b7d4577012c0e98edbad63d32113aab567f5fc /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 2bbea35ce9b0489103dcfcd873d59e04683071e8 (diff) |
Clear the whole array, always.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 5c45b4bd4d..f2ce1308ca 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -23,7 +23,7 @@ TargetLowering::TargetLowering(TargetMachine &tm) 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*)); } |