src/share/vm/ci/ciMethod.hpp

changeset 1573
dd57230ba8fe
parent 1572
97125851f396
child 1587
cd37471eaecc
     1.1 --- a/src/share/vm/ci/ciMethod.hpp	Tue Jan 05 13:05:58 2010 +0100
     1.2 +++ b/src/share/vm/ci/ciMethod.hpp	Tue Jan 05 15:21:25 2010 +0100
     1.3 @@ -38,6 +38,8 @@
     1.4    CI_PACKAGE_ACCESS
     1.5    friend class ciEnv;
     1.6    friend class ciExceptionHandlerStream;
     1.7 +  friend class ciBytecodeStream;
     1.8 +  friend class ciMethodHandle;
     1.9  
    1.10   private:
    1.11    // General method information.
    1.12 @@ -251,4 +253,10 @@
    1.13    // Print the name of this method in various incarnations.
    1.14    void print_name(outputStream* st = tty);
    1.15    void print_short_name(outputStream* st = tty);
    1.16 +
    1.17 +  methodOop get_method_handle_target() {
    1.18 +    klassOop receiver_limit_oop = NULL;
    1.19 +    int flags = 0;
    1.20 +    return MethodHandles::decode_method(get_oop(), receiver_limit_oop, flags);
    1.21 +  }
    1.22  };

mercurial