diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-13 23:27:32 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-13 23:27:32 +0000 |
commit | a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1 (patch) | |
tree | a6e4594b64450c9cbe6bfdbea5769076e2ca2097 /llvm/lib/CodeGen/ShadowStackGC.cpp | |
parent | 590a7c780caa2429349d364923ca55d5f3bd3e6b (diff) | |
download | llvm-a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1.zip llvm-a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1.tar.gz llvm-a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1.tar.bz2 |
Actually privatize a IntegerTypes, and fix a few bugs exposed by this.
llvm-svn: 78955
Diffstat (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ShadowStackGC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp index 5b4cc7fe..18c4936 100644 --- a/llvm/lib/CodeGen/ShadowStackGC.cpp +++ b/llvm/lib/CodeGen/ShadowStackGC.cpp @@ -279,7 +279,7 @@ bool ShadowStackGC::initializeCustomLowering(Module &M) { // FrameMap *Map; // Pointer to constant FrameMap. // void *Roots[]; // Stack roots (in-place array, so we pretend). // }; - OpaqueType *RecursiveTy = OpaqueType::get(); + OpaqueType *RecursiveTy = OpaqueType::get(M.getContext()); EltTys.clear(); EltTys.push_back(PointerType::getUnqual(RecursiveTy)); |