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. |