Support the invoke instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@765 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index b92b54f..f91b786 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/lib/Transforms/Scalar/SCCP.cpp
@@ -370,8 +370,9 @@
case Instruction::Alloca:
case Instruction::Load:
case Instruction::Store:
- // TODO: getfield/putfield?
+ // TODO: getfield
case Instruction::Call:
+ case Instruction::Invoke:
markOverdefined(I); // Memory and call's are all overdefined
return;