src/share/classes/com/sun/tools/javac/comp/Flow.java

changeset 1899
c60a5099863a
parent 1879
3b4f92a3797f
child 1914
0a9f5cbe37d9
equal deleted inserted replaced
1898:a204cf7aab7e 1899:c60a5099863a
371 371
372 /** Resolve all continues of this statement. */ 372 /** Resolve all continues of this statement. */
373 boolean resolveBreaks(JCTree tree, ListBuffer<P> oldPendingExits) { 373 boolean resolveBreaks(JCTree tree, ListBuffer<P> oldPendingExits) {
374 return resolveJump(tree, oldPendingExits, JumpKind.BREAK); 374 return resolveJump(tree, oldPendingExits, JumpKind.BREAK);
375 } 375 }
376
377 @Override
378 public void scan(JCTree tree) {
379 if (tree != null && (
380 tree.type == null ||
381 tree.type != Type.stuckType)) {
382 super.scan(tree);
383 }
384 }
376 } 385 }
377 386
378 /** 387 /**
379 * This pass implements the first step of the dataflow analysis, namely 388 * This pass implements the first step of the dataflow analysis, namely
380 * the liveness analysis check. This checks that every statement is reachable. 389 * the liveness analysis check. This checks that every statement is reachable.

mercurial