Revert r134893 and r134888 (and related patches in other trees). It was causing
[oota-llvm.git] / include / llvm / Target / TargetData.h
index 10252865c966cddf02f0ee835e5599bdf988ed29..32e3e2b0b61735792715cffb121de2e8f5cd963a 100644 (file)
@@ -259,7 +259,7 @@ public:
   /// getIntPtrType - Return an unsigned integer type that is the same size or
   /// greater to the host pointer size.
   ///
-  IntegerType *getIntPtrType(LLVMContext &C) const;
+  const IntegerType *getIntPtrType(LLVMContext &C) const;
 
   /// getIndexedOffset - return the offset from the beginning of the type for
   /// the specified indices.  This is used to implement getelementptr.