commit | 7b4f9f8b74cd8f8d476787763ea02030762b00e7 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jul 28 18:32:17 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jul 28 18:32:17 2009 +0000 |
tree | 1d75f632724874d39fcab0f961b588afe4dbadbd | |
parent | 46978976b3ae91ae883561076cacb2b2affc5862 [diff] [blame] |
Change ConstantArray to 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ShadowStackGC.cpp b/lib/CodeGen/ShadowStackGC.cpp index 9d141e9..801a99b 100644 --- a/lib/CodeGen/ShadowStackGC.cpp +++ b/lib/CodeGen/ShadowStackGC.cpp
@@ -209,7 +209,7 @@ Constant *DescriptorElts[] = { ConstantStruct::get(BaseElts, 2), - Context.getConstantArray(Context.getArrayType(VoidPtr, NumMeta), + ConstantArray::get(Context.getArrayType(VoidPtr, NumMeta), Metadata.begin(), NumMeta) };