8296846: Minor cleanup of some dead code in Flow.java

Reviewed-by: vromero
This commit is contained in:
Archie L. Cobbs 2022-11-18 04:25:12 +00:00 committed by Vicente Romero
parent ab6b7ef988
commit 2f063b86fb

View File

@ -2175,10 +2175,6 @@ public class Flow {
Lint lintPrev = lint;
lint = lint.augment(tree.sym);
try {
if (tree.sym == null) {
return;
}
JCClassDecl classDefPrev = classDef;
int firstadrPrev = firstadr;
int nextadrPrev = nextadr;
@ -2265,15 +2261,6 @@ public class Flow {
Lint lintPrev = lint;
lint = lint.augment(tree.sym);
try {
if (tree.body == null) {
return;
}
/* Ignore synthetic methods, except for translated lambda methods.
*/
if ((tree.sym.flags() & (SYNTHETIC | LAMBDA_METHOD)) == SYNTHETIC) {
return;
}
final Bits initsPrev = new Bits(inits);
final Bits uninitsPrev = new Bits(uninits);
int nextadrPrev = nextadr;