diff options
author | John Högberg <[email protected]> | 2019-08-07 08:12:58 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-08-07 08:12:58 +0200 |
commit | 18ab59fe935799f6495ed8273a9c577c655d30ab (patch) | |
tree | b7d02a7e18786f7ef645f6d72a826caa1e8e034e /erts | |
parent | 86b0385622e25502222ae171a14f24aba998f2f9 (diff) | |
parent | 2ea04617d18bc3c4f80fc3b28af47379a3ec26fc (diff) | |
download | otp-18ab59fe935799f6495ed8273a9c577c655d30ab.tar.gz otp-18ab59fe935799f6495ed8273a9c577c655d30ab.tar.bz2 otp-18ab59fe935799f6495ed8273a9c577c655d30ab.zip |
Merge branch 'john/compiler/explicit-call-exceptions'
* john/compiler/explicit-call-exceptions:
compiler: Simplify set_tuple_element optimization
compiler: Make 'succeeded' optimization more general
compiler: Simplify call type optimization
compiler: All calls may throw, so they all need success checks
erts_debug: Turn off unsafe optimizations in test case
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/test/nofrag_SUITE.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/test/nofrag_SUITE.erl b/erts/emulator/test/nofrag_SUITE.erl index 8b1519ae36..d4c74579e2 100644 --- a/erts/emulator/test/nofrag_SUITE.erl +++ b/erts/emulator/test/nofrag_SUITE.erl @@ -22,6 +22,11 @@ -include_lib("common_test/include/ct.hrl"). +%% This suite alters the return values of functions which breaks certain +%% assumptions made by the compiler, so we have to turn off module-level type +%% optimization to be safe. +-compile(no_module_opt). + -export([all/0, suite/0, error_handler/1,error_handler_apply/1, error_handler_fixed_apply/1,error_handler_fun/1, |