< prev index next >

src/hotspot/share/c1/c1_CodeStubs.hpp

Print this page
*** 547,6 ***
--- 547,25 ---
  #ifndef PRODUCT
    virtual void print_name(outputStream* out) const { out->print("ArrayCopyStub"); }
  #endif // PRODUCT
  };
  
+ class LoadKlassStub: public CodeStub {
+ private:
+   LIR_Opr          _obj;
+   LIR_Opr          _result;
+ 
+ public:
+   LoadKlassStub(LIR_Opr obj, LIR_Opr result) :
+     CodeStub(), _obj(obj), _result(result) {};
+ 
+   virtual void emit_code(LIR_Assembler* e);
+   virtual void visit(LIR_OpVisitState* visitor) {
+     visitor->do_input(_obj);
+     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 >