From c2c7932c640032063fddab43a13e2c15aa29fda3 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 28 Jul 2009 18:32:17 +0000 Subject: Change ConstantArray to 2.5 API. llvm-svn: 77347 --- llvm/lib/CodeGen/ShadowStackGC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp') diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp index 9d141e9c823..801a99bdb07 100644 --- a/llvm/lib/CodeGen/ShadowStackGC.cpp +++ b/llvm/lib/CodeGen/ShadowStackGC.cpp @@ -209,7 +209,7 @@ Constant *ShadowStackGC::GetFrameMap(Function &F) { Constant *DescriptorElts[] = { ConstantStruct::get(BaseElts, 2), - Context.getConstantArray(Context.getArrayType(VoidPtr, NumMeta), + ConstantArray::get(Context.getArrayType(VoidPtr, NumMeta), Metadata.begin(), NumMeta) }; -- cgit v1.2.3