comparison src/share/vm/c1/c1_LIR.cpp @ 3957:5cceda753a4a

7091764: Tiered: enable aastore profiling Summary: Turn on aastore profiling Reviewed-by: jrose, twisti
author iveresov
date Mon, 19 Sep 2011 15:21:03 -0700
parents 10ee2b297ccd
children b642b49f9738
comparison
equal deleted inserted replaced
3953:77e1a9153757 3957:5cceda753a4a
1392 } 1392 }
1393 append(c); 1393 append(c);
1394 } 1394 }
1395 1395
1396 1396
1397 void LIR_List::store_check(LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, CodeEmitInfo* info_for_exception) { 1397 void LIR_List::store_check(LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3,
1398 append(new LIR_OpTypeCheck(lir_store_check, object, array, tmp1, tmp2, tmp3, info_for_exception)); 1398 CodeEmitInfo* info_for_exception, ciMethod* profiled_method, int profiled_bci) {
1399 LIR_OpTypeCheck* c = new LIR_OpTypeCheck(lir_store_check, object, array, tmp1, tmp2, tmp3, info_for_exception);
1400 if (profiled_method != NULL) {
1401 c->set_profiled_method(profiled_method);
1402 c->set_profiled_bci(profiled_bci);
1403 c->set_should_profile(true);
1404 }
1405 append(c);
1399 } 1406 }
1400 1407
1401 1408
1402 void LIR_List::cas_long(LIR_Opr addr, LIR_Opr cmp_value, LIR_Opr new_value, 1409 void LIR_List::cas_long(LIR_Opr addr, LIR_Opr cmp_value, LIR_Opr new_value,
1403 LIR_Opr t1, LIR_Opr t2, LIR_Opr result) { 1410 LIR_Opr t1, LIR_Opr t2, LIR_Opr result) {