Optimization/simplification of 'getbaseline'

By producing absolute line information at regular intervals, a simple
division can compute the correct entry for a given instruction.
This commit is contained in:
Roberto Ierusalimschy
2021-02-02 14:43:55 -03:00
parent 949187b049
commit e500892e18
3 changed files with 19 additions and 24 deletions

View File

@@ -29,10 +29,10 @@
/*
** MAXimum number of successive Instructions WiTHout ABSolute line
** information.
** information. (A power of two allows fast divisions.)
*/
#if !defined(MAXIWTHABS)
#define MAXIWTHABS 120
#define MAXIWTHABS 128
#endif