equal
deleted
inserted
replaced
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*/); |