projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename Instruction::hasSideEffects() -> mayWriteToMemory()
[oota-llvm.git]
/
include
/
llvm
/
iOther.h
diff --git
a/include/llvm/iOther.h
b/include/llvm/iOther.h
index 026134f2763bc8a927670e4cc76c5d6dce52428b..5ad3d0a66d0c23790288e6da7acbb44b42b753e4 100644
(file)
--- a/
include/llvm/iOther.h
+++ b/
include/llvm/iOther.h
@@
-60,7
+60,7
@@
public:
Instruction* InsertBefore = 0);
virtual Instruction *clone() const { return new CallInst(*this); }
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());
const Function *getCalledFunction() const {
return dyn_cast<Function>(Operands[0].get());