src/share/vm/ci/ciMethodHandle.hpp

changeset 2949
f918d6096e23
parent 2903
fabcf26ee72f
child 3105
c26de9aef2ed
     1.1 --- a/src/share/vm/ci/ciMethodHandle.hpp	Wed Jun 01 23:25:31 2011 -0700
     1.2 +++ b/src/share/vm/ci/ciMethodHandle.hpp	Thu Jun 02 13:36:11 2011 -0700
     1.3 @@ -36,7 +36,7 @@
     1.4  private:
     1.5    ciMethod*      _callee;
     1.6    ciMethod*      _caller;
     1.7 -  ciCallProfile* _profile;
     1.8 +  ciCallProfile  _profile;
     1.9  
    1.10    // Return an adapter for this MethodHandle.
    1.11    ciMethod* get_adapter_impl(bool is_invokedynamic) const;
    1.12 @@ -49,8 +49,7 @@
    1.13    ciMethodHandle(instanceHandle h_i) :
    1.14      ciInstance(h_i),
    1.15      _callee(NULL),
    1.16 -    _caller(NULL),
    1.17 -    _profile(NULL)
    1.18 +    _caller(NULL)
    1.19    {}
    1.20  
    1.21    // What kind of ciObject is this?
    1.22 @@ -58,7 +57,7 @@
    1.23  
    1.24    void set_callee(ciMethod* m)                  { _callee  = m;       }
    1.25    void set_caller(ciMethod* m)                  { _caller  = m;       }
    1.26 -  void set_call_profile(ciCallProfile* profile) { _profile = profile; }
    1.27 +  void set_call_profile(ciCallProfile profile)  { _profile = profile; }
    1.28  
    1.29    // Return an adapter for a MethodHandle call.
    1.30    ciMethod* get_method_handle_adapter() const { return get_adapter(false); }

mercurial