hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
changeset 46727 6e4a84748e2c
parent 46608 b0da00b77053
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
   128   static void       initialize();
   128   static void       initialize();
   129   static StubQueue* code()                                      { return _code; }
   129   static StubQueue* code()                                      { return _code; }
   130 
   130 
   131 
   131 
   132   // Method activation
   132   // Method activation
   133   static MethodKind method_kind(methodHandle m);
   133   static MethodKind method_kind(const methodHandle& m);
   134   static address    entry_for_kind(MethodKind k)                { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; }
   134   static address    entry_for_kind(MethodKind k)                { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; }
   135   static address    entry_for_method(methodHandle m)            { return entry_for_kind(method_kind(m)); }
   135   static address    entry_for_method(const methodHandle& m)     { return entry_for_kind(method_kind(m)); }
   136 
   136 
   137   static address entry_for_cds_method(methodHandle m) {
   137   static address entry_for_cds_method(const methodHandle& m) {
   138     MethodKind k = method_kind(m);
   138     MethodKind k = method_kind(m);
   139     assert(0 <= k && k < number_of_method_entries, "illegal kind");
   139     assert(0 <= k && k < number_of_method_entries, "illegal kind");
   140     return _cds_entry_table[k];
   140     return _cds_entry_table[k];
   141   }
   141   }
   142 
   142