Add braces around an array initializer.

llvm-svn: 72453
This commit is contained in:
Dan Gohman 2009-05-27 02:07:15 +00:00
parent 1789362d70
commit 28a9f80811
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ Value *SCEVExpander::visitAddRecExpr(const SCEVAddRecExpr *S) {
// comments on expandAddToGEP for details.
if (SE.TD) {
SCEVHandle Base = S->getStart();
SCEVHandle RestArray[1] = Rest;
SCEVHandle RestArray[1] = { Rest };
// Dig into the expression to find the pointer base for a GEP.
ExposePointerBase(Base, RestArray[0], SE);
// If we found a pointer, expand the AddRec with a GEP.