diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-02-14 18:16:09 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-02-14 18:16:09 +0000 |
| commit | e69b09955acbde87470eea8bc99b580195569dc0 (patch) | |
| tree | ab32e281d64d91d5bc0de3d67aedec4148bee3cc /lib/CodeGen/CGExprConstant.cpp | |
| parent | 43dee220252ef0b42c5f8a3bb1eca97f84f2565f (diff) | |
| download | clang-e69b09955acbde87470eea8bc99b580195569dc0.tar.gz clang-e69b09955acbde87470eea8bc99b580195569dc0.tar.bz2 clang-e69b09955acbde87470eea8bc99b580195569dc0.tar.xz | |
revert my ConstantVector patch, it seems to have made the llvm-gcc
builders unhappy.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index d4d9c92838..c569b37b94 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -914,7 +914,7 @@ llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, else Inits.push_back(llvm::ConstantFP::get(VMContext, Elt.getFloat())); } - return llvm::ConstantVector::get(Inits); + return llvm::ConstantVector::get(&Inits[0], Inits.size()); } } } |
