diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-24 20:48:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-24 20:48:32 +0000 |
commit | f0a93ed9c59d706494496c6fe4e8354864d24aa7 (patch) | |
tree | 814a9c9517aedfe89b7f2e08cf58314ea3633d06 /include/llvm/Instruction.h | |
parent | 9971ac4a36c54488bcdf55d7e493ac0cd6dc168a (diff) | |
download | external_llvm-f0a93ed9c59d706494496c6fe4e8354864d24aa7.zip external_llvm-f0a93ed9c59d706494496c6fe4e8354864d24aa7.tar.gz external_llvm-f0a93ed9c59d706494496c6fe4e8354864d24aa7.tar.bz2 |
Rename Instruction::hasSideEffects() -> mayWriteToMemory()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index ca01e30..5f61b2d 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -55,7 +55,9 @@ public: Instruction *getPrev() { return Prev; } const Instruction *getPrev() const { return Prev; } - virtual bool hasSideEffects() const { return false; } // Memory & Call insts + /// mayWriteToMemory - Return true if this instruction may modify memory. + /// + virtual bool mayWriteToMemory() const { return false; } // --------------------------------------------------------------------------- /// Subclass classification... getOpcode() returns a member of |