< prev index next >

src/hotspot/share/c1/c1_CodeStubs.hpp

Print this page
*** 579,6 ***
--- 579,24 ---
  #ifndef PRODUCT
    virtual void print_name(outputStream* out) const { out->print("ArrayCopyStub"); }
  #endif // PRODUCT
  };
  
+ class LoadKlassStub: public CodeStub {
+ private:
+   LIR_Opr          _result;
+ 
+ public:
+   LoadKlassStub(LIR_Opr result) :
+     CodeStub(), _result(result) {};
+ 
+   virtual void emit_code(LIR_Assembler* e);
+   virtual void visit(LIR_OpVisitState* visitor) {
+     visitor->do_temp(_result);
+     visitor->do_output(_result);
+   }
+ #ifndef PRODUCT
+   virtual void print_name(outputStream* out) const { out->print("LoadKlassStub"); }
+ #endif // PRODUCT
+ };
+ 
  #endif // SHARE_C1_C1_CODESTUBS_HPP
< prev index next >