From 017489cfa2f041094cc05e1bfe8276fc6df0d52e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 14 May 2002 04:20:25 +0000 Subject: [PATCH] Invoke inst has side effects! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2619 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/iTerminators.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h index fa1dbd6d8d3..c5047bc6c3c 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... // -- 2.34.1