src/jdk/nashorn/internal/ir/BreakableNode.java
Print this page
*** 84,94 ****
return breakLabel;
}
/**
* Return the labels associated with this node. Breakable nodes that
! * aren't LoopNodes only have a break label -> the location immediately
* afterwards the node in code
* @return list of labels representing locations around this node
*/
public List<Label> getLabels() {
return Arrays.asList(breakLabel);
--- 84,94 ----
return breakLabel;
}
/**
* Return the labels associated with this node. Breakable nodes that
! * aren't LoopNodes only have a break label - the location immediately
* afterwards the node in code
* @return list of labels representing locations around this node
*/
public List<Label> getLabels() {
return Arrays.asList(breakLabel);