commit | c2c7932c640032063fddab43a13e2c15aa29fda3 | [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 | c8345816a0dfb9ce8a8f71cb4aec18b7cd3bbeb3 | |
parent | 2706a550711dd4c85924b78cc1787267e62aec56 [diff] [blame] |
Change ConstantArray to 2.5 API. llvm-svn: 77347
diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp index 9d141e9..801a99b 100644 --- a/llvm/lib/CodeGen/ShadowStackGC.cpp +++ b/llvm/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) };