diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-13 21:57:51 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-13 21:57:51 +0000 |
commit | 0032b2781b4deb131f8c9b7968f2030bf2489cdd (patch) | |
tree | a7e6a229d6bccf2ff4bc12c3cb7dd76f381428a5 /lib/CodeGen/CGBlocks.h | |
parent | eea0a5c6e347842fcfdd371f27c0e3b8fc644ee7 (diff) |
Update for LLVM API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.h')
-rw-r--r-- | lib/CodeGen/CGBlocks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGBlocks.h b/lib/CodeGen/CGBlocks.h index 5a0af04b24..61415adc9b 100644 --- a/lib/CodeGen/CGBlocks.h +++ b/lib/CodeGen/CGBlocks.h @@ -112,7 +112,8 @@ public: GenericBlockLiteralType(0), GenericExtendedBlockLiteralType(0), BlockObjectAssign(0), BlockObjectDispose(0) { Block.GlobalUniqueCount = 0; - PtrToInt8Ty = llvm::PointerType::getUnqual(llvm::Type::Int8Ty); + PtrToInt8Ty = llvm::PointerType::getUnqual( + llvm::Type::getInt8Ty(M.getContext())); } }; |