comparison src/share/vm/opto/compile.hpp @ 367:194b8e3a2fc4

6384206: Phis which are later unneeded are impairing our ability to inline based on static types Reviewed-by: rasbold, jrose
author never
date Wed, 17 Sep 2008 12:59:52 -0700
parents d1605aabd0a1
children 72c5366e5d86
comparison
equal deleted inserted replaced
366:8261ee795323 367:194b8e3a2fc4
158 bool _do_method_data_update; // True if we generate code to update methodDataOops 158 bool _do_method_data_update; // True if we generate code to update methodDataOops
159 int _AliasLevel; // Locally-adjusted version of AliasLevel flag. 159 int _AliasLevel; // Locally-adjusted version of AliasLevel flag.
160 bool _print_assembly; // True if we should dump assembly code for this compilation 160 bool _print_assembly; // True if we should dump assembly code for this compilation
161 #ifndef PRODUCT 161 #ifndef PRODUCT
162 bool _trace_opto_output; 162 bool _trace_opto_output;
163 bool _parsed_irreducible_loop; // True if ciTypeFlow detected irreducible loops during parsing
163 #endif 164 #endif
164 165
165 // Compilation environment. 166 // Compilation environment.
166 Arena _comp_arena; // Arena with lifetime equivalent to Compile 167 Arena _comp_arena; // Arena with lifetime equivalent to Compile
167 ciEnv* _env; // CI interface 168 ciEnv* _env; // CI interface
317 bool method_has_option(const char * option) { 318 bool method_has_option(const char * option) {
318 return method() != NULL && method()->has_option(option); 319 return method() != NULL && method()->has_option(option);
319 } 320 }
320 #ifndef PRODUCT 321 #ifndef PRODUCT
321 bool trace_opto_output() const { return _trace_opto_output; } 322 bool trace_opto_output() const { return _trace_opto_output; }
323 bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }
324 void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; }
322 #endif 325 #endif
323 326
324 void begin_method() { 327 void begin_method() {
325 #ifndef PRODUCT 328 #ifndef PRODUCT
326 if (_printer) _printer->begin_method(this); 329 if (_printer) _printer->begin_method(this);