Rename Instruction::hasSideEffects() -> mayWriteToMemory()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-02-24 20:48:32 +00:00
parent 9971ac4a36
commit f0a93ed9c5
7 changed files with 10 additions and 8 deletions

View 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());