hotspot/src/share/vm/ci/ciMethod.hpp
changeset 4567 7fc02fbe5c7a
parent 4566 b363f6ef4068
child 4581 e89fbd1bcb3d
equal deleted inserted replaced
4566:b363f6ef4068 4567:7fc02fbe5c7a
    36 class ciMethod : public ciObject {
    36 class ciMethod : public ciObject {
    37   friend class CompileBroker;
    37   friend class CompileBroker;
    38   CI_PACKAGE_ACCESS
    38   CI_PACKAGE_ACCESS
    39   friend class ciEnv;
    39   friend class ciEnv;
    40   friend class ciExceptionHandlerStream;
    40   friend class ciExceptionHandlerStream;
       
    41   friend class ciBytecodeStream;
       
    42   friend class ciMethodHandle;
    41 
    43 
    42  private:
    44  private:
    43   // General method information.
    45   // General method information.
    44   ciFlags          _flags;
    46   ciFlags          _flags;
    45   ciSymbol*        _name;
    47   ciSymbol*        _name;
   249   void print_codes_on(int from, int to, outputStream* st);
   251   void print_codes_on(int from, int to, outputStream* st);
   250 
   252 
   251   // Print the name of this method in various incarnations.
   253   // Print the name of this method in various incarnations.
   252   void print_name(outputStream* st = tty);
   254   void print_name(outputStream* st = tty);
   253   void print_short_name(outputStream* st = tty);
   255   void print_short_name(outputStream* st = tty);
       
   256 
       
   257   methodOop get_method_handle_target() {
       
   258     klassOop receiver_limit_oop = NULL;
       
   259     int flags = 0;
       
   260     return MethodHandles::decode_method(get_oop(), receiver_limit_oop, flags);
       
   261   }
   254 };
   262 };