aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-02-11 06:37:58 +0100
committerGitHub <[email protected]>2019-02-11 06:37:58 +0100
commiteac67ca98374701eb27be53836a216e8600be4aa (patch)
tree991717f63f9cfbc5a656fcb09b44e53603fd061a /lib/debugger
parent20b76b6c535bf0279950ea9ef5d02c52a9f8b51c (diff)
parent4763811e1d67a0d2ac3442d4694b4e1dee1b4364 (diff)
downloadotp-eac67ca98374701eb27be53836a216e8600be4aa.tar.gz
otp-eac67ca98374701eb27be53836a216e8600be4aa.tar.bz2
otp-eac67ca98374701eb27be53836a216e8600be4aa.zip
Merge pull request #2134 from bjorng/bjorn/compiler/propagate-none
beam_ssa_type: Propagate the 'none' type from calls
Diffstat (limited to 'lib/debugger')
-rw-r--r--lib/debugger/test/int_eval_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/debugger/test/int_eval_SUITE.erl b/lib/debugger/test/int_eval_SUITE.erl
index 0542e45142..324a44bad8 100644
--- a/lib/debugger/test/int_eval_SUITE.erl
+++ b/lib/debugger/test/int_eval_SUITE.erl
@@ -285,7 +285,10 @@ do_eval(Config, Mod) ->
DataDir = proplists:get_value(data_dir, Config),
ok = file:set_cwd(DataDir),
- {ok,Mod} = compile:file(Mod, [report,debug_info]),
+ %% Turn off type-based optimizations across function calls, as it
+ %% would turn many body-recursive calls into tail-recursive calls,
+ %% which would change the stacktrace.
+ {ok,Mod} = compile:file(Mod, [no_module_opt,report,debug_info]),
{module,Mod} = code:load_file(Mod),
CompiledRes = Mod:Mod(),
ok = io:format("Compiled:\n~p", [CompiledRes]),