src/hotspot/cpu/sparc/templateTable_sparc.cpp
changeset 49347 edb65305d3ac
parent 49164 7e958a8ebcd3
child 49359 59f6547e151f
equal deleted inserted replaced
49346:14e84a4edb9c 49347:edb65305d3ac
    53                          bool precise) {
    53                          bool precise) {
    54   assert(tmp != val && tmp != base && tmp != index, "register collision");
    54   assert(tmp != val && tmp != base && tmp != index, "register collision");
    55   assert(index == noreg || offset == 0, "only one offset");
    55   assert(index == noreg || offset == 0, "only one offset");
    56   switch (barrier) {
    56   switch (barrier) {
    57 #if INCLUDE_ALL_GCS
    57 #if INCLUDE_ALL_GCS
    58     case BarrierSet::G1SATBCTLogging:
    58     case BarrierSet::G1BarrierSet:
    59       {
    59       {
    60         // Load and record the previous value.
    60         // Load and record the previous value.
    61         __ g1_write_barrier_pre(base, index, offset,
    61         __ g1_write_barrier_pre(base, index, offset,
    62                                 noreg /* pre_val */,
    62                                 noreg /* pre_val */,
    63                                 tmp, true /*preserve_o_regs*/);
    63                                 tmp, true /*preserve_o_regs*/);