src/share/vm/code/vtableStubs.hpp

changeset 3969
1d7922586cf6
parent 2325
c760f78e0a53
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/code/vtableStubs.hpp	Mon Jul 23 13:04:59 2012 -0700
     1.2 +++ b/src/share/vm/code/vtableStubs.hpp	Tue Jul 24 10:51:00 2012 -0700
     1.3 @@ -55,6 +55,8 @@
     1.4    int index() const                              { return _index; }
     1.5    static VMReg receiver_location()               { return _receiver_location; }
     1.6    void set_next(VtableStub* n)                   { _next = n; }
     1.7 +
     1.8 + public:
     1.9    address code_begin() const                     { return (address)(this + 1); }
    1.10    address code_end() const                       { return code_begin() + pd_code_size_limit(_is_vtable_stub); }
    1.11    address entry_point() const                    { return code_begin(); }
    1.12 @@ -65,6 +67,7 @@
    1.13    }
    1.14    bool contains(address pc) const                { return code_begin() <= pc && pc < code_end(); }
    1.15  
    1.16 + private:
    1.17    void set_exception_points(address npe_addr, address ame_addr) {
    1.18      _npe_offset = npe_addr - code_begin();
    1.19      _ame_offset = ame_addr - code_begin();

mercurial