Bytecode generation, Source code mappings, JCov, Future

John Rose John.Rose at Sun.COM
Sat Apr 19 11:34:02 PDT 2008

On Apr 19, 2008, at 4:27 AM, Alex Rau wrote:

> what John meant with token serial numbers

Serial = sequentially assigned.  For some definition of token, first  
token in file gets serial number 1, second gets 2, etc.  If complete  
file has N tokens, last token serial number is N.  It's almost the  
same as byte offset, just (a) more compact and (b) more stable under  
semantically null edits.  FWIW.

Use byte offsets for simplicity!

-- John
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the compiler-dev mailing list