< prev index next >

src/hotspot/share/c1/c1_CodeStubs.hpp

Print this page

532   ArrayCopyStub(LIR_OpArrayCopy* op): _op(op) { }
533 
534   LIR_Opr src() const                         { return _op->src(); }
535   LIR_Opr src_pos() const                     { return _op->src_pos(); }
536   LIR_Opr dst() const                         { return _op->dst(); }
537   LIR_Opr dst_pos() const                     { return _op->dst_pos(); }
538   LIR_Opr length() const                      { return _op->length(); }
539   LIR_Opr tmp() const                         { return _op->tmp(); }
540 
541   virtual void emit_code(LIR_Assembler* e);
542   virtual CodeEmitInfo* info() const          { return _op->info(); }
543   virtual void visit(LIR_OpVisitState* visitor) {
544     // don't pass in the code emit info since it's processed in the fast path
545     visitor->do_slow_case();
546   }
547 #ifndef PRODUCT
548   virtual void print_name(outputStream* out) const { out->print("ArrayCopyStub"); }
549 #endif // PRODUCT
550 };
551 



















552 #endif // SHARE_C1_C1_CODESTUBS_HPP

532   ArrayCopyStub(LIR_OpArrayCopy* op): _op(op) { }
533 
534   LIR_Opr src() const                         { return _op->src(); }
535   LIR_Opr src_pos() const                     { return _op->src_pos(); }
536   LIR_Opr dst() const                         { return _op->dst(); }
537   LIR_Opr dst_pos() const                     { return _op->dst_pos(); }
538   LIR_Opr length() const                      { return _op->length(); }
539   LIR_Opr tmp() const                         { return _op->tmp(); }
540 
541   virtual void emit_code(LIR_Assembler* e);
542   virtual CodeEmitInfo* info() const          { return _op->info(); }
543   virtual void visit(LIR_OpVisitState* visitor) {
544     // don't pass in the code emit info since it's processed in the fast path
545     visitor->do_slow_case();
546   }
547 #ifndef PRODUCT
548   virtual void print_name(outputStream* out) const { out->print("ArrayCopyStub"); }
549 #endif // PRODUCT
550 };
551 
552 class LoadKlassStub: public CodeStub {
553 private:
554   LIR_Opr          _obj;
555   LIR_Opr          _result;
556 
557 public:
558   LoadKlassStub(LIR_Opr obj, LIR_Opr result) :
559     CodeStub(), _obj(obj), _result(result) {};
560 
561   virtual void emit_code(LIR_Assembler* e);
562   virtual void visit(LIR_OpVisitState* visitor) {
563     visitor->do_input(_obj);
564     visitor->do_output(_result);
565   }
566 #ifndef PRODUCT
567 virtual void print_name(outputStream* out) const { out->print("LoadKlassStub"); }
568 #endif // PRODUCT
569 };
570 
571 #endif // SHARE_C1_C1_CODESTUBS_HPP
< prev index next >