public void printBlockLayoutOrder(Writer w) throws Exception {
        w.write(getNodeName() + " [label=\"" + getNodeName() + "\\l");
        for(Instruction i : instructions) {
            i.printInstruction(w);
            w.write("\\l");
        }
        w.write("\"]\n");
        if(next != null) {
            w.write(getNodeName() + " -> " + next.getNodeName() + ";\n");
            next.printBlockLayoutOrder(w);
        }
    }