[llvm-commits] [llvm] r97841 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Eric Christopher
echristo at apple.com
Fri Mar 5 14:21:58 PST 2010
Author: echristo
Date: Fri Mar 5 16:21:58 2010
New Revision: 97841
URL: http://llvm.org/viewvc/llvm-project?rev=97841&view=rev
Log:
Add support for an i8* type accessor.
Modified:
llvm/trunk/include/llvm/Support/IRBuilder.h
Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=97841&r1=97840&r2=97841&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/IRBuilder.h Fri Mar 5 16:21:58 2010
@@ -143,6 +143,10 @@
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;
More information about the llvm-commits
mailing list