Author: criswell Date: Sat Aug 4 11:23:46 2007 New Revision: 40814 URL: http://llvm.org/viewvc/llvm-project?rev=40814&view=rev Log: Added assertion.
Modified: poolalloc/branches/SVA/lib/DSA/Local.cpp Modified: poolalloc/branches/SVA/lib/DSA/Local.cpp URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/SVA/lib/DSA/Local.cpp?rev=40814&r1=40813&r2=40814&view=diff ============================================================================== --- poolalloc/branches/SVA/lib/DSA/Local.cpp (original) +++ poolalloc/branches/SVA/lib/DSA/Local.cpp Sat Aug 4 11:23:46 2007 @@ -1517,6 +1517,7 @@ assert (isa<ConstantInt>(CS.getArgument(0)) && "llva_syscall6 called with non-const argument"); ConstantInt * C = dyn_cast<ConstantInt>(CS.getArgument(0)); Callee = syscalls[C->getSExtValue()]; + assert (Callee && "llva_syscall: No target for system call vector"); } // Set up the return value... _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits