equal
deleted
inserted
replaced
236 } |
236 } |
237 bool profile_checkcasts() { |
237 bool profile_checkcasts() { |
238 return env()->comp_level() == CompLevel_full_profile && |
238 return env()->comp_level() == CompLevel_full_profile && |
239 C1UpdateMethodData && C1ProfileCheckcasts; |
239 C1UpdateMethodData && C1ProfileCheckcasts; |
240 } |
240 } |
241 |
241 bool profile_parameters() { |
|
242 return env()->comp_level() == CompLevel_full_profile && |
|
243 C1UpdateMethodData && MethodData::profile_parameters(); |
|
244 } |
|
245 bool profile_arguments() { |
|
246 return env()->comp_level() == CompLevel_full_profile && |
|
247 C1UpdateMethodData && MethodData::profile_arguments(); |
|
248 } |
|
249 bool profile_return() { |
|
250 return env()->comp_level() == CompLevel_full_profile && |
|
251 C1UpdateMethodData && MethodData::profile_return(); |
|
252 } |
242 // will compilation make optimistic assumptions that might lead to |
253 // will compilation make optimistic assumptions that might lead to |
243 // deoptimization and that the runtime will account for? |
254 // deoptimization and that the runtime will account for? |
244 bool is_optimistic() const { |
255 bool is_optimistic() const { |
245 return !TieredCompilation && |
256 return !TieredCompilation && |
246 (RangeCheckElimination || UseLoopInvariantCodeMotion) && |
257 (RangeCheckElimination || UseLoopInvariantCodeMotion) && |