| Index: compiler/java/com/google/dart/compiler/ast/DartThrowStatement.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartThrowStatement.java b/compiler/java/com/google/dart/compiler/ast/DartThrowStatement.java
|
| index 61691ba4458aeda7af48ed4cfc9897a665fe3046..4797372252b2de2a340a82dadc66b2bb6daefdb6 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartThrowStatement.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartThrowStatement.java
|
| @@ -25,24 +25,14 @@ public class DartThrowStatement extends DartStatement {
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - if (exception != null) {
|
| - exception = becomeParentOf(v.accept(exception));
|
| - }
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| if (exception != null) {
|
| exception.accept(visitor);
|
| }
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitThrowStatement(this);
|
| }
|
| }
|
|
|