SSAStack st = getStack(aq.getLHS()); Variable var = st.peek(); if (var != null) { PhiOperand phi = (PhiOperand) aq.getPhiOperand(); phi.addSource(var);
if (!aq.isDeadCode()) { SSAStack st = getStack(aq.getLHS()); Variable var = st.peek();  if (var != null) { PhiOperand phi = (PhiOperand) aq.getPhiOperand(); phi.addSource(var); } else { aq.setDeadCode(true); }
	private void rewritePhiParams(IRBasicBlock block) {		if (block == null) {			return;		}		System.out.println("\nrewritePhiParams block: " + block);		Iterator it = block.getQuads().iterator();		while (it.hasNext()) {			Quad q = (Quad) it.next();			if (q instanceof PhiAssignQuad) {				PhiAssignQuad aq = (PhiAssignQuad) q;				SSAStack st = getStack(aq.getLHS());				Variable var = st.peek();				if (var != null) {					PhiOperand phi = (PhiOperand) aq.getPhiOperand();					phi.addSource(var);				}			}		}	}