diff options
author | Duraid Madina <duraid@octopus.com.au> | 2005-05-15 14:44:13 +0000 |
---|---|---|
committer | Duraid Madina <duraid@octopus.com.au> | 2005-05-15 14:44:13 +0000 |
commit | e75a24a5fa97ce1911bf39e51c4db6681e69b56b (patch) | |
tree | d70b7db12e9c9201edfd1020352b0f8a84d2f45d /lib/Target/IA64/IA64ISelPattern.cpp | |
parent | 4560657b4c1bb90f899bf59a01a38742f41d9603 (diff) |
make angry compilers happy again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/IA64/IA64ISelPattern.cpp')
-rw-r--r-- | lib/Target/IA64/IA64ISelPattern.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/IA64/IA64ISelPattern.cpp b/lib/Target/IA64/IA64ISelPattern.cpp index 3cd32ba697..1ea16cce8f 100644 --- a/lib/Target/IA64/IA64ISelPattern.cpp +++ b/lib/Target/IA64/IA64ISelPattern.cpp @@ -816,7 +816,8 @@ SDOperand ISel::BuildConstmulSequence(SDOperand N) { // do the transformation, filling out 'ops' lefevre(boothEncodedString, ops); - SDOperand results[ops.size()]; // temporary results (of adds/subs of shifts) + assert(ops.size() < 80 && "constmul code has gone haywire\n"); + SDOperand results[80]; // temporary results (of adds/subs of shifts) // now turn 'ops' into DAG bits for(unsigned i=0; i<ops.size(); i++) { |