Rename Instruction::hasSideEffects() -> mayWriteToMemory()
[oota-llvm.git] / include / llvm / iOther.h
index 026134f2763bc8a927670e4cc76c5d6dce52428b..5ad3d0a66d0c23790288e6da7acbb44b42b753e4 100644 (file)
@@ -60,7 +60,7 @@ public:
            Instruction* InsertBefore = 0);
 
   virtual Instruction *clone() const { return new CallInst(*this); }
-  bool hasSideEffects() const { return true; }
+  bool mayWriteToMemory() const { return true; }
 
   const Function *getCalledFunction() const {
     return dyn_cast<Function>(Operands[0].get());