diff --git a/llvm/include/llvm/iTerminators.h b/llvm/include/llvm/iTerminators.h index fa1dbd6d8d3a..c5047bc6c3c3 100644 --- a/llvm/include/llvm/iTerminators.h +++ b/llvm/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... //