summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-14 04:20:25 +0000
committerChris Lattner <sabre@nondot.org>2002-05-14 04:20:25 +0000
commit3262f9406b40655bc84cc08539cdd0ab3c5fb3c2 (patch)
treebe3874bceab110d8696844e67b41ba63bcc5c1d2 /llvm
parente00d826c7a85edcfa8719c2a7ad9773efd3d7b1c (diff)
downloadbcm5719-llvm-3262f9406b40655bc84cc08539cdd0ab3c5fb3c2.tar.gz
bcm5719-llvm-3262f9406b40655bc84cc08539cdd0ab3c5fb3c2.zip
Invoke inst has side effects!
llvm-svn: 2619
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/iTerminators.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/iTerminators.h b/llvm/include/llvm/iTerminators.h
index fa1dbd6d8d3..c5047bc6c3c 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...
//
OpenPOWER on IntegriCloud