summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-11 20:25:26 +0000
committerChris Lattner <sabre@nondot.org>2005-01-11 20:25:26 +0000
commit4cbf1f003807df3f8d2759a56c84564b62a46d37 (patch)
tree215fb5437594da2c20b5557a13a26d02c8e8bb04 /llvm/lib
parent7b98f7407b9e5f50c9fc7642281941b4ad055c2f (diff)
downloadbcm5719-llvm-4cbf1f003807df3f8d2759a56c84564b62a46d37.tar.gz
bcm5719-llvm-4cbf1f003807df3f8d2759a56c84564b62a46d37.zip
Clear the whole array, always.
llvm-svn: 19482
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLowering.cpp b/llvm/lib/Target/TargetLowering.cpp
index 5c45b4bd4d5..f2ce1308cae 100644
--- a/llvm/lib/Target/TargetLowering.cpp
+++ b/llvm/lib/Target/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*));
}
OpenPOWER on IntegriCloud