aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-02-02 14:43:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-02-02 14:43:55 -0300
commite500892e18e994781760819e33098322728796e8 (patch)
tree0a954761f83effd9aaf4c650e7dfe6e0564e37e7 /ldebug.h
parent949187b049ce329c93d6639b91e244f2b208c807 (diff)
downloadlua-e500892e18e994781760819e33098322728796e8.tar.gz
lua-e500892e18e994781760819e33098322728796e8.tar.bz2
lua-e500892e18e994781760819e33098322728796e8.zip
Optimization/simplification of 'getbaseline'
By producing absolute line information at regular intervals, a simple division can compute the correct entry for a given instruction.
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.h b/ldebug.h
index 8e912a8e..974960e9 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -29,10 +29,10 @@
29 29
30/* 30/*
31** MAXimum number of successive Instructions WiTHout ABSolute line 31** MAXimum number of successive Instructions WiTHout ABSolute line
32** information. 32** information. (A power of two allows fast divisions.)
33*/ 33*/
34#if !defined(MAXIWTHABS) 34#if !defined(MAXIWTHABS)
35#define MAXIWTHABS 120 35#define MAXIWTHABS 128
36#endif 36#endif
37 37
38 38