comparison src/share/vm/c1/c1_IR.cpp @ 2014:4de5f4101cfd

Merge
author iveresov
date Wed, 08 Dec 2010 17:50:49 -0800
parents 5ddfcf4b079e
children 701a83c86f28
comparison
equal deleted inserted replaced
1990:401fbd7ff77c 2014:4de5f4101cfd
502 502
503 init_visited(); 503 init_visited();
504 count_edges(start_block, NULL); 504 count_edges(start_block, NULL);
505 505
506 if (compilation()->is_profiling()) { 506 if (compilation()->is_profiling()) {
507 compilation()->method()->method_data()->set_compilation_stats(_num_loops, _num_blocks); 507 ciMethod *method = compilation()->method();
508 if (!method->is_accessor()) {
509 ciMethodData* md = method->method_data_or_null();
510 assert(md != NULL, "Sanity");
511 md->set_compilation_stats(_num_loops, _num_blocks);
512 }
508 } 513 }
509 514
510 if (_num_loops > 0) { 515 if (_num_loops > 0) {
511 mark_loops(); 516 mark_loops();
512 clear_non_natural_loops(start_block); 517 clear_non_natural_loops(start_block);