Support the invoke instruction
authorChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:52:41 +0000 (06:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:52:41 +0000 (06:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@765 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SCCP.cpp

index b92b54fd649b522d2621999740aa4509777db21e..f91b786ce19bc436acfa1343c488dc8eff3587e2 100644 (file)
@@ -370,8 +370,9 @@ void SCCP::UpdateInstruction(Instruction *I) {
   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;