Add support for an i8* type accessor.
authorEric Christopher <echristo@apple.com>
Fri, 5 Mar 2010 22:21:58 +0000 (22:21 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 5 Mar 2010 22:21:58 +0000 (22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97841 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/IRBuilder.h

index c8aef9c094b3a9a71a4a937a2c5ed0dc7a19be9e..1f4e598990d6f3f4fde09bd0e8947b5f28f6ee77 100644 (file)
@@ -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;