hotspot/src/share/vm/asm/codeBuffer.hpp
changeset 35086 bbf32241d851
parent 33593 60764a78fa5c
child 38133 78b95467b9f1
equal deleted inserted replaced
35085:839c8ba29724 35086:bbf32241d851
   207   // Manage labels and their addresses.
   207   // Manage labels and their addresses.
   208   address target(Label& L, address branch_pc);
   208   address target(Label& L, address branch_pc);
   209 
   209 
   210   // Emit a relocation.
   210   // Emit a relocation.
   211   void relocate(address at, RelocationHolder const& rspec, int format = 0);
   211   void relocate(address at, RelocationHolder const& rspec, int format = 0);
   212   void relocate(address at,    relocInfo::relocType rtype, int format = 0) {
   212   void relocate(address at,    relocInfo::relocType rtype, int format = 0, jint method_index = 0);
   213     if (rtype != relocInfo::none)
       
   214       relocate(at, Relocation::spec_simple(rtype), format);
       
   215   }
       
   216 
   213 
   217   // alignment requirement for starting offset
   214   // alignment requirement for starting offset
   218   // Requirements are that the instruction area and the
   215   // Requirements are that the instruction area and the
   219   // stubs area must start on CodeEntryAlignment, and
   216   // stubs area must start on CodeEntryAlignment, and
   220   // the ctable on sizeof(jdouble)
   217   // the ctable on sizeof(jdouble)