home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 936 of 2,753   
   Andy Johnson to Bison   
   Re: Questions about Bytecode   
   23 Apr 07 07:49:29   
   
   From: ajohnson@mathworks.com   
      
   To answer your question about labels, they aren't implemented in the Java   
   bytecode at all.  Label points are derived from destinations of branch   
   points.  If you need to know which bytecodes are reachable via branching,   
   you have to synthesize the bytecodes.  Since you know the size of the   
   bytecodes in advance, you can easily create a bitmap to show the label   
   points.   
      
   -AndyJ   
      
   "Bison"  wrote in message   
      
   > I'm also wondering how labels are implemented in the bytecode.   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca