private static int addToBin(LiveExprNode check,Vect bin){
  if (check == null) {
    return -1;
  }
  int len=bin.size();
  int idx;
  for (idx=0; idx < len; idx++) {
    LiveExprNode ln=(LiveExprNode)bin.elementAt(idx);
    if (check.equals(ln)) {
      break;
    }
  }
  if (idx >= len) {
    bin.addElement(check);
  }
  return idx;
}

private static int addToBin ( LiveExprNode check , Vect bin ) { if ( check == null ) { return - 1 ; } int len = bin . size ( ) ; int idx ; for ( idx = 0 ; idx < len ; idx ++ ) { LiveExprNode ln = ( LiveExprNode ) bin . elementAt ( idx ) ; if ( check . equals ( ln ) ) { break ; } } if ( idx >= len ) { bin . addElement ( check ) ; } return idx ; }
given a list of checks , ensures that the checks are in the bin . it returns an array of index of the checks in the bin .
