< prev index next >

src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp

Print this page

 77     visitor->do_temp(_tmp);
 78   }
 79 }
 80 
 81 void ZLoadBarrierStubC1::emit_code(LIR_Assembler* ce) {
 82   ZBarrierSet::assembler()->generate_c1_load_barrier_stub(ce, this);
 83 }
 84 
 85 #ifndef PRODUCT
 86 void ZLoadBarrierStubC1::print_name(outputStream* out) const {
 87   out->print("ZLoadBarrierStubC1");
 88 }
 89 #endif // PRODUCT
 90 
 91 class LIR_OpZLoadBarrierTest : public LIR_Op {
 92 private:
 93   LIR_Opr _opr;
 94 
 95 public:
 96   LIR_OpZLoadBarrierTest(LIR_Opr opr) :
 97       LIR_Op(),
 98       _opr(opr) {}
 99 
100   virtual void visit(LIR_OpVisitState* state) {
101     state->do_input(_opr);
102   }
103 
104   virtual void emit_code(LIR_Assembler* ce) {
105     ZBarrierSet::assembler()->generate_c1_load_barrier_test(ce, _opr);
106   }
107 
108   virtual void print_instr(outputStream* out) const {
109     _opr->print(out);
110     out->print(" ");
111   }
112 
113 #ifndef PRODUCT
114   virtual const char* name() const {
115     return "lir_z_load_barrier_test";
116   }
117 #endif // PRODUCT

 77     visitor->do_temp(_tmp);
 78   }
 79 }
 80 
 81 void ZLoadBarrierStubC1::emit_code(LIR_Assembler* ce) {
 82   ZBarrierSet::assembler()->generate_c1_load_barrier_stub(ce, this);
 83 }
 84 
 85 #ifndef PRODUCT
 86 void ZLoadBarrierStubC1::print_name(outputStream* out) const {
 87   out->print("ZLoadBarrierStubC1");
 88 }
 89 #endif // PRODUCT
 90 
 91 class LIR_OpZLoadBarrierTest : public LIR_Op {
 92 private:
 93   LIR_Opr _opr;
 94 
 95 public:
 96   LIR_OpZLoadBarrierTest(LIR_Opr opr) :
 97       LIR_Op(lir_zloadbarrier_test, LIR_OprFact::illegalOpr, NULL),
 98       _opr(opr) {}
 99 
100   virtual void visit(LIR_OpVisitState* state) {
101     state->do_input(_opr);
102   }
103 
104   virtual void emit_code(LIR_Assembler* ce) {
105     ZBarrierSet::assembler()->generate_c1_load_barrier_test(ce, _opr);
106   }
107 
108   virtual void print_instr(outputStream* out) const {
109     _opr->print(out);
110     out->print(" ");
111   }
112 
113 #ifndef PRODUCT
114   virtual const char* name() const {
115     return "lir_z_load_barrier_test";
116   }
117 #endif // PRODUCT
< prev index next >