/** Generates code for a break statement. */
@Override
public Void visitBreakStmt(BreakStmt nd) {
/* DONE: generate code for break statement (hint: use ASTNode.getEnclosingLoop and breakTargets;
* use units.add() to insert the statement into the surrounding method) */
WhileStmt whileStmt = nd.getEnclosingLoop();
Unit breakTargetUnit = this.breakTargets.get(whileStmt);
this.units.add(j.newGotoStmt(breakTargetUnit));
return null; // dummy
}