diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-27 02:07:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-27 02:07:15 +0000 |
commit | 28a9f80811dfb56af601f7e6f213897cf708a5d3 (patch) | |
tree | 5647271bbce45ddeed1a0c35bd710f87ba9594f0 /llvm | |
parent | 1789362d703168f48181c523fcfa7f562dc5104c (diff) | |
download | bcm5719-llvm-28a9f80811dfb56af601f7e6f213897cf708a5d3.tar.gz bcm5719-llvm-28a9f80811dfb56af601f7e6f213897cf708a5d3.zip |
Add braces around an array initializer.
llvm-svn: 72453
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |