land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / include / llvm / Support / CallSite.h
index 8a998a8cd0d15fc5b3e6e456bbf9420528adb33e..04b8c4e69c52e6ae933d1fb70bfaf6872f15dbc1 100644 (file)
@@ -147,7 +147,7 @@ public:
   
   /// getType - Return the type of the instruction that generated this call site
   ///
-  const Type *getType() const { return (*this)->getType(); }
+  Type *getType() const { return (*this)->getType(); }
 
   /// getCaller - Return the caller function for this call site
   ///