Invoke inst has side effects!
authorChris Lattner <sabre@nondot.org>
Tue, 14 May 2002 04:20:25 +0000 (04:20 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 May 2002 04:20:25 +0000 (04:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2619 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/iTerminators.h

index fa1dbd6d8d3a39f9b6f85cfaf5aea30412793c6d..c5047bc6c3c338290c8edc422440c1693e2766d4 100644 (file)
@@ -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...
   //