src/hotspot/share/asm/codeBuffer.hpp
changeset 50528 1fd4844371bb
parent 50104 4ea7917929b9
child 53244 9807daeb47c4
equal deleted inserted replaced
50527:83fd54252ee4 50528:1fd4844371bb
   335 // Instructions and data in one section can contain relocatable references to
   335 // Instructions and data in one section can contain relocatable references to
   336 // addresses in a sibling section.
   336 // addresses in a sibling section.
   337 
   337 
   338 class CodeBuffer: public StackObj {
   338 class CodeBuffer: public StackObj {
   339   friend class CodeSection;
   339   friend class CodeSection;
       
   340   friend class StubCodeGenerator;
   340 
   341 
   341  private:
   342  private:
   342   // CodeBuffers must be allocated on the stack except for a single
   343   // CodeBuffers must be allocated on the stack except for a single
   343   // special case during expansion which is handled internally.  This
   344   // special case during expansion which is handled internally.  This
   344   // is done to guarantee proper cleanup of resources.
   345   // is done to guarantee proper cleanup of resources.