From 28a9f80811dfb56af601f7e6f213897cf708a5d3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 27 May 2009 02:07:15 +0000 Subject: Add braces around an array initializer. llvm-svn: 72453 --- llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp') diff --git a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp index 4e2600986b1..7ba8268b508 100644 --- a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp @@ -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. -- cgit v1.2.3