< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java

Print this page
rev 55090 : secret-sfac


 110 
 111         methodType = new MethodType(null, null, null, syms.methodClass);
 112         accessDollar = names.
 113             fromString("access" + target.syntheticNameChar());
 114         lower = Lower.instance(context);
 115         transValues = TransValues.instance(context);
 116 
 117         Options options = Options.instance(context);
 118         lineDebugInfo =
 119             options.isUnset(G_CUSTOM) ||
 120             options.isSet(G_CUSTOM, "lines");
 121         varDebugInfo =
 122             options.isUnset(G_CUSTOM)
 123             ? options.isSet(G)
 124             : options.isSet(G_CUSTOM, "vars");
 125         genCrt = options.isSet(XJCOV);
 126         debugCode = options.isSet("debug.code");
 127         disableVirtualizedPrivateInvoke = options.isSet("disableVirtualizedPrivateInvoke");
 128         pool = new Pool(types);
 129         staticInitValueFactory = options.isSet("staticInitValueFactory");

 130 
 131         // ignore cldc because we cannot have both stackmap formats
 132         this.stackMap = StackMapFormat.JSR202;
 133         annotate = Annotate.instance(context);
 134     }
 135 
 136     /** Switches
 137      */
 138     private final boolean lineDebugInfo;
 139     private final boolean varDebugInfo;
 140     private final boolean genCrt;
 141     private final boolean debugCode;
 142     private boolean disableVirtualizedPrivateInvoke;
 143 
 144     private boolean staticInitValueFactory;
 145 
 146     /** Code buffer, set by genMethod.
 147      */
 148     private Code code;
 149 




 110 
 111         methodType = new MethodType(null, null, null, syms.methodClass);
 112         accessDollar = names.
 113             fromString("access" + target.syntheticNameChar());
 114         lower = Lower.instance(context);
 115         transValues = TransValues.instance(context);
 116 
 117         Options options = Options.instance(context);
 118         lineDebugInfo =
 119             options.isUnset(G_CUSTOM) ||
 120             options.isSet(G_CUSTOM, "lines");
 121         varDebugInfo =
 122             options.isUnset(G_CUSTOM)
 123             ? options.isSet(G)
 124             : options.isSet(G_CUSTOM, "vars");
 125         genCrt = options.isSet(XJCOV);
 126         debugCode = options.isSet("debug.code");
 127         disableVirtualizedPrivateInvoke = options.isSet("disableVirtualizedPrivateInvoke");
 128         pool = new Pool(types);
 129         staticInitValueFactory = options.isSet("staticInitValueFactory");
 130         staticInitValueFactory |= !options.isSet("noStaticInitValueFactory");
 131 
 132         // ignore cldc because we cannot have both stackmap formats
 133         this.stackMap = StackMapFormat.JSR202;
 134         annotate = Annotate.instance(context);
 135     }
 136 
 137     /** Switches
 138      */
 139     private final boolean lineDebugInfo;
 140     private final boolean varDebugInfo;
 141     private final boolean genCrt;
 142     private final boolean debugCode;
 143     private boolean disableVirtualizedPrivateInvoke;
 144 
 145     private boolean staticInitValueFactory;
 146 
 147     /** Code buffer, set by genMethod.
 148      */
 149     private Code code;
 150 


< prev index next >