Duncan pointed out that the LandingPadInst might read memory. (It might also
[oota-llvm.git] / lib / VMCore / Attributes.cpp
index bf6efa1645a2aa6deb1e8b33f55a51fea7f6c2c4..b728b9284b4499fa701d7cc864a8d5584ce40c2d 100644 (file)
@@ -92,7 +92,7 @@ std::string Attribute::getAsString(Attributes Attrs) {
   return Result;
 }
 
-Attributes Attribute::typeIncompatible(const Type *Ty) {
+Attributes Attribute::typeIncompatible(Type *Ty) {
   Attributes Incompatible = None;
   
   if (!Ty->isIntegerTy())