From fef082041f2fd200bf7f95bb742c76fc103162ff Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 5 Mar 2010 22:21:58 +0000 Subject: Add support for an i8* type accessor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97841 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/IRBuilder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/llvm') diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index c8aef9c094..1f4e598990 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -143,6 +143,10 @@ public: return Type::getVoidTy(Context); } + const Type *getInt8PtrTy() { + return Type::getInt8PtrTy(Context); + } + /// getCurrentFunctionReturnType - Get the return type of the current function /// that we're emitting into. const Type *getCurrentFunctionReturnType() const; -- cgit v1.2.3