mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 06:28:23 +00:00
8169200: Gen has a reference to Flow that is not used, should be removed
Reviewed-by: jjg
This commit is contained in:
parent
ee816fd1c9
commit
9c79170aed
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -38,7 +38,6 @@ import com.sun.tools.javac.code.Symbol.*;
|
||||
import com.sun.tools.javac.code.Type.*;
|
||||
import com.sun.tools.javac.jvm.Code.*;
|
||||
import com.sun.tools.javac.jvm.Items.*;
|
||||
import com.sun.tools.javac.main.Option;
|
||||
import com.sun.tools.javac.tree.EndPosTable;
|
||||
import com.sun.tools.javac.tree.JCTree.*;
|
||||
|
||||
@ -67,10 +66,9 @@ public class Gen extends JCTree.Visitor {
|
||||
private final TreeMaker make;
|
||||
private final Names names;
|
||||
private final Target target;
|
||||
private Name accessDollar;
|
||||
private final Name accessDollar;
|
||||
private final Types types;
|
||||
private final Lower lower;
|
||||
private final Flow flow;
|
||||
private final Annotate annotate;
|
||||
private final StringConcat concat;
|
||||
|
||||
@ -95,7 +93,7 @@ public class Gen extends JCTree.Visitor {
|
||||
|
||||
/** Constant pool, reset by genClass.
|
||||
*/
|
||||
private Pool pool;
|
||||
private final Pool pool;
|
||||
|
||||
protected Gen(Context context) {
|
||||
context.put(genKey, this);
|
||||
@ -113,7 +111,6 @@ public class Gen extends JCTree.Visitor {
|
||||
methodType = new MethodType(null, null, null, syms.methodClass);
|
||||
accessDollar = names.
|
||||
fromString("access" + target.syntheticNameChar());
|
||||
flow = Flow.instance(context);
|
||||
lower = Lower.instance(context);
|
||||
|
||||
Options options = Options.instance(context);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user