273 void post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
273 void post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
274 |
274 |
275 // specific implementations |
275 // specific implementations |
276 // pre barriers |
276 // pre barriers |
277 |
277 |
278 void G1SATBCardTableModRef_pre_barrier(LIR_Opr addr_opr, LIR_Opr pre_val, |
278 void G1BarrierSet_pre_barrier(LIR_Opr addr_opr, LIR_Opr pre_val, |
279 bool do_load, bool patch, CodeEmitInfo* info); |
279 bool do_load, bool patch, CodeEmitInfo* info); |
280 |
280 |
281 // post barriers |
281 // post barriers |
282 |
282 |
283 void G1SATBCardTableModRef_post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
283 void G1BarrierSet_post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
284 void CardTableModRef_post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
284 void CardTableBarrierSet_post_barrier(LIR_OprDesc* addr, LIR_OprDesc* new_val); |
285 #ifdef CARDTABLEMODREF_POST_BARRIER_HELPER |
285 #ifdef CARDTABLEBARRIERSET_POST_BARRIER_HELPER |
286 void CardTableModRef_post_barrier_helper(LIR_OprDesc* addr, LIR_Const* card_table_base); |
286 void CardTableBarrierSet_post_barrier_helper(LIR_OprDesc* addr, LIR_Const* card_table_base); |
287 #endif |
287 #endif |
288 |
288 |
289 |
289 |
290 static LIR_Opr result_register_for(ValueType* type, bool callee = false); |
290 static LIR_Opr result_register_for(ValueType* type, bool callee = false); |
291 |
291 |