make angry compilers happy again

llvm-svn: 22054
This commit is contained in:
Duraid Madina 2005-05-15 14:44:13 +00:00
parent 73c4dbae23
commit 9f406cb29b
1 changed files with 2 additions and 1 deletions

View File

@ -816,7 +816,8 @@ SDOperand ISel::BuildConstmulSequence(SDOperand N) {
// do the transformation, filling out 'ops' // do the transformation, filling out 'ops'
lefevre(boothEncodedString, 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 // now turn 'ops' into DAG bits
for(unsigned i=0; i<ops.size(); i++) { for(unsigned i=0; i<ops.size(); i++) {