public void performCSE() throws Exception {
        Instruction i = dominating;
        while(i != null) {
            if(this.isCommonSubexpression(i)) {
                this.delete(i.getSubstitute());
                return;
            }
            i = i.dominating;
        }
    }