diff options
author | Björn Gustavsson <[email protected]> | 2011-03-31 08:33:56 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-16 08:58:48 +0200 |
commit | e21b58ac5a016d62bba8117ec09105bcac8b94e8 (patch) | |
tree | 410f197a7b524d321d738aac2fd46f912fd44efc /lib/debugger/test/guard_SUITE.erl | |
parent | bbb379003d071f19595bb36d3ead79ba0c8474d3 (diff) | |
download | otp-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/debugger/test/guard_SUITE.erl')
0 files changed, 0 insertions, 0 deletions