< prev index next >

src/hotspot/share/opto/c2_CodeStubs.hpp

Print this page
*** 128,10 ***
--- 128,20 ---
    Register monitor() { return _monitor; }
    Register tmp() { return _tmp; }
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
  };
+ 
+ class C2LoadNKlassStub : public C2CodeStub {
+ private:
+   Register _dst;
+ public:
+   C2LoadNKlassStub(Register dst) : C2CodeStub(), _dst(dst) {}
+   Register dst() { return _dst; }
+   int max_size() const;
+   void emit(C2_MacroAssembler& masm);
+ };
  #endif
  
  //-----------------------------C2GeneralStub-----------------------------------
  // A generalized stub that can be used to implement an arbitrary stub in a
  // type-safe manner. An example:
< prev index next >