[llvm-commits] [llvm-gcc-4.2] r77427 - /llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Evan Cheng
evan.cheng at apple.com
Tue Jul 28 20:50:40 PDT 2009
Author: evancheng
Date: Tue Jul 28 22:50:39 2009
New Revision: 77427
URL: http://llvm.org/viewvc/llvm-project?rev=77427&view=rev
Log:
Unbreak the build.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp?rev=77427&r1=77426&r2=77427&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp Tue Jul 28 22:50:39 2009
@@ -119,7 +119,7 @@
std::vector<Constant*> CstOps;
for (unsigned i = 0; i != NumElements; ++i)
CstOps.push_back(Val);
- return getGlobalContext().getConstantVector(CstOps);
+ return ConstantVector::get(CstOps);
}
/// BuildDup - Build a splat operation to duplicate a value into every
More information about the llvm-commits
mailing list