diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-14 04:20:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-14 04:20:25 +0000 |
commit | 017489cfa2f041094cc05e1bfe8276fc6df0d52e (patch) | |
tree | a7b9fbaaac2b84e7d43e337a135f35a74dd2a529 | |
parent | 82ac87cc215897c3ab682ffbfd958a4098d7337f (diff) |
Invoke inst has side effects!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2619 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/iTerminators.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h index fa1dbd6d8d..c5047bc6c3 100644 --- a/include/llvm/iTerminators.h +++ b/include/llvm/iTerminators.h @@ -190,6 +190,8 @@ public: virtual Instruction *clone() const { return new InvokeInst(*this); } + bool hasSideEffects() const { return true; } + // getCalledFunction - Return the function called, or null if this is an // indirect function invocation... // |