diff options
Diffstat (limited to 'src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java')
-rw-r--r-- | src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java b/src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java index 2b1de7c7..1582f30e 100644 --- a/src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java +++ b/src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java @@ -53,8 +53,6 @@ public class NodeOperatorVisitor<T extends LexicalContext> extends NodeVisitor<T return enterBIT_NOT(unaryNode); case DELETE: return enterDELETE(unaryNode); - case DISCARD: - return enterDISCARD(unaryNode); case NEW: return enterNEW(unaryNode); case NOT: @@ -84,8 +82,6 @@ public class NodeOperatorVisitor<T extends LexicalContext> extends NodeVisitor<T return leaveBIT_NOT(unaryNode); case DELETE: return leaveDELETE(unaryNode); - case DISCARD: - return leaveDISCARD(unaryNode); case NEW: return leaveNEW(unaryNode); case NOT: @@ -359,26 +355,6 @@ public class NodeOperatorVisitor<T extends LexicalContext> extends NodeVisitor<T } /** - * Unary enter - callback for entering a discard operator - * - * @param unaryNode the node - * @return true if traversal should continue and node children be traversed, false otherwise - */ - public boolean enterDISCARD(final UnaryNode unaryNode) { - return enterDefault(unaryNode); - } - - /** - * Unary leave - callback for leaving a discard operator - * - * @param unaryNode the node - * @return processed node, which will replace the original one, or the original node - */ - public Node leaveDISCARD(final UnaryNode unaryNode) { - return leaveDefault(unaryNode); - } - - /** * Unary enter - callback for entering a new operator * * @param unaryNode the node |