summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ShadowStackGC.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-28 18:32:17 +0000
committerOwen Anderson <resistor@mac.com>2009-07-28 18:32:17 +0000
commitc2c7932c640032063fddab43a13e2c15aa29fda3 (patch)
treec8345816a0dfb9ce8a8f71cb4aec18b7cd3bbeb3 /llvm/lib/CodeGen/ShadowStackGC.cpp
parent2706a550711dd4c85924b78cc1787267e62aec56 (diff)
downloadbcm5719-llvm-c2c7932c640032063fddab43a13e2c15aa29fda3.tar.gz
bcm5719-llvm-c2c7932c640032063fddab43a13e2c15aa29fda3.zip
Change ConstantArray to 2.5 API.
llvm-svn: 77347
Diffstat (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r--llvm/lib/CodeGen/ShadowStackGC.cpp2
1 files changed, 1 insertions, 1 deletions
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)
};
OpenPOWER on IntegriCloud