summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-03-05 22:21:58 +0000
committerEric Christopher <echristo@apple.com>2010-03-05 22:21:58 +0000
commit27d54d9d3b77421cf9cc7061245ee3d13e29667a (patch)
tree99756831d21b66aa692468118548fad769bf3f0d /llvm
parent7829362620d0e05055206c1fcbb0822a18f24491 (diff)
downloadbcm5719-llvm-27d54d9d3b77421cf9cc7061245ee3d13e29667a.tar.gz
bcm5719-llvm-27d54d9d3b77421cf9cc7061245ee3d13e29667a.zip
Add support for an i8* type accessor.
llvm-svn: 97841
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/IRBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/IRBuilder.h b/llvm/include/llvm/Support/IRBuilder.h
index c8aef9c094b..1f4e598990d 100644
--- a/llvm/include/llvm/Support/IRBuilder.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud