src/jdk/nashorn/internal/ir/ReturnNode.java

changeset 144
4be452026847
parent 96
e478708faa22
child 211
3a209cbd1d8f
     1.1 --- a/src/jdk/nashorn/internal/ir/ReturnNode.java	Tue Mar 19 11:03:24 2013 -0300
     1.2 +++ b/src/jdk/nashorn/internal/ir/ReturnNode.java	Sat Mar 23 00:58:39 2013 +0100
     1.3 @@ -100,12 +100,12 @@
     1.4  
     1.5      @Override
     1.6      public Node accept(final NodeVisitor visitor) {
     1.7 -        if (visitor.enter(this) != null) {
     1.8 +        if (visitor.enterReturnNode(this) != null) {
     1.9              if (expression != null) {
    1.10                  expression = expression.accept(visitor);
    1.11              }
    1.12  
    1.13 -            return visitor.leave(this);
    1.14 +            return visitor.leaveReturnNode(this);
    1.15          }
    1.16  
    1.17          return this;

mercurial