forked from snabbco/snabb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lj_parse.c, lj_debug.c: Remove clever tricks in lineinfo encoding
Remove two clever tricks whose benefits don't justify their complexity: The GCproto.lineinfo table used to exclude the first and last bytecodes. The line numbers of those bytecodes had to be calculated as a special case (using other state in the GCproto struct.) Now every bytecode has an entry in the lineinfo table and is treated the same. The GCproto.lineinfo table used to store delta values relative to the first line. Now the absolute line number is stored. (The deltas helped with a compression scheme that has previously been removed from RaptorJIT.)
- Loading branch information
Showing
2 changed files
with
5 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters