]> granicus.if.org Git - llvm/commitdiff
Handle va_arg instruction correctly
authorChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 02:50:13 +0000 (02:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 02:50:13 +0000 (02:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6030 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SCCP.cpp

index 8b33e228270370d45cb2ff43f0fbbdfbf628c093..bddf0afe00f96b5bb9d80bd0f5c97b863da43738 100644 (file)
@@ -193,6 +193,7 @@ private:
   void visitCallInst      (Instruction &I) { markOverdefined(&I); }
   void visitInvokeInst    (Instruction &I) { markOverdefined(&I); }
   void visitAllocationInst(Instruction &I) { markOverdefined(&I); }
+  void visitVarArgInst    (Instruction &I) { markOverdefined(&I); }
   void visitFreeInst      (Instruction &I) { /*returns void*/ }
 
   void visitInstruction(Instruction &I) {