[llvm-commits] [llvm] r47493 -	/llvm/trunk/include/llvm/Target/TargetInstrDesc.h
    Evan Cheng 
    evan.cheng at apple.com
       
    Fri Feb 22 11:25:04 PST 2008
    
    
  
Author: evancheng
Date: Fri Feb 22 13:25:04 2008
New Revision: 47493
URL: http://llvm.org/viewvc/llvm-project?rev=47493&view=rev
Log:
Remove an invalid assertion now that there are implicit virtual register operands.
Modified:
    llvm/trunk/include/llvm/Target/TargetInstrDesc.h
Modified: llvm/trunk/include/llvm/Target/TargetInstrDesc.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetInstrDesc.h?rev=47493&r1=47492&r2=47493&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetInstrDesc.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrDesc.h Fri Feb 22 13:25:04 2008
@@ -122,8 +122,6 @@
   /// it is set. Returns -1 if it is not set.
   int getOperandConstraint(unsigned OpNum,
                            TOI::OperandConstraint Constraint) const {
-    assert((OpNum < NumOperands || isVariadic()) &&
-           "Invalid operand # of TargetInstrInfo");
     if (OpNum < NumOperands &&
         (OpInfo[OpNum].Constraints & (1 << Constraint))) {
       unsigned Pos = 16 + Constraint * 4;
    
    
More information about the llvm-commits
mailing list