aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_trace.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-07-12 17:44:45 +0200
committerRickard Green <[email protected]>2018-07-12 17:44:45 +0200
commitc48d442024df188ac2e7b226ec2f04da9d10288b (patch)
treed7a58cd1ffbcbc95d91e91060939713d168339bf /erts/emulator/beam/erl_bif_trace.c
parent1f55b15c5e3f6ff79c855963876c501e9f782406 (diff)
downloadotp-c48d442024df188ac2e7b226ec2f04da9d10288b.tar.gz
otp-c48d442024df188ac2e7b226ec2f04da9d10288b.tar.bz2
otp-c48d442024df188ac2e7b226ec2f04da9d10288b.zip
Fix trace_info/2
Diffstat (limited to 'erts/emulator/beam/erl_bif_trace.c')
-rw-r--r--erts/emulator/beam/erl_bif_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_trace.c b/erts/emulator/beam/erl_bif_trace.c
index 9861483bf0..711e62c795 100644
--- a/erts/emulator/beam/erl_bif_trace.c
+++ b/erts/emulator/beam/erl_bif_trace.c
@@ -810,7 +810,7 @@ Eterm trace_info_2(BIF_ALIST_2)
}
erts_release_code_write_permission();
- if (is_internal_ref(res))
+ if (is_value(res) && is_internal_ref(res))
BIF_TRAP1(erts_await_result, BIF_P, res);
BIF_RET(res);