aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-03-31 08:33:56 +0200
committerBjörn Gustavsson <[email protected]>2011-08-16 08:58:48 +0200
commite21b58ac5a016d62bba8117ec09105bcac8b94e8 (patch)
tree410f197a7b524d321d738aac2fd46f912fd44efc /lib/percept
parentbbb379003d071f19595bb36d3ead79ba0c8474d3 (diff)
downloadotp-e21b58ac5a016d62bba8117ec09105bcac8b94e8.tar.gz
otp-e21b58ac5a016d62bba8117ec09105bcac8b94e8.tar.bz2
otp-e21b58ac5a016d62bba8117ec09105bcac8b94e8.zip
Fix the no_tail option
The 'no_tail' option was broken and would work almost as the 'all' option, because it would use #ieval.top (formerly known as #ieval.last_call) as the basis for its decision to push or not. Fix it by including a boolean in each call/apply instruction indicating whether the call is tail-recursive and pass that boolean to the dbg_istk:push() function.
Diffstat (limited to 'lib/percept')
0 files changed, 0 insertions, 0 deletions