noTwoStage = false;
twostage = true;
    private static SIRStream dispatchToSimple(SIRSplitJoin sj) {	// revert to the older version of fusion if either:	//   - the simplesjfusion tag is specified	//   - there are no two stage filters AND there is no round-robin with peeking	if (KjcOptions.simplesjfusion) {	    return FuseSimpleSplit.fuse(sj);	} else {	    boolean noTwoStage = true;	    boolean noRRPeek = sj.getSplitter().getType()==SIRSplitType.WEIGHTED_RR || 		sj.getSplitter().getType()==SIRSplitType.ROUND_ROBIN;	    for (int i=0; i<sj.size(); i++) {		if (sj.get(i) instanceof SIRFilter) {		    SIRFilter filter = (SIRFilter)sj.get(i);		    if (filter instanceof SIRTwoStageFilter) {			noTwoStage = false;			break;		    }		    if (filter.getPeekInt() > filter.getPopInt()) {			noRRPeek = false;			break;		    }		}	    }	    if (noTwoStage && noRRPeek) {		return FuseSimpleSplit.fuse(sj);	    } else {		return null;	    }	}    }