public void addRegExp(RegExpLiteral re){
  if (re == null)   codeBug();
  if (regexps == null)   regexps=new ArrayList<RegExpLiteral>();
  regexps.add(re);
  re.putIntProp(REGEXP_PROP,regexps.size() - 1);
}

public void addRegExp ( RegExpLiteral re ) { if ( re == null ) codeBug ( ) ; if ( regexps == null ) regexps = new ArrayList < RegExpLiteral > ( ) ; regexps . add ( re ) ; re . putIntProp ( REGEXP_PROP , regexps . size ( ) - 1 ) ; }
called by irfactory to add a regexp to the regexp table .
