aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_info.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-08-27 17:23:09 +0200
committerSverker Eriksson <[email protected]>2013-09-30 17:34:10 +0200
commit156b011958a3b80e507039ddc916db039874ada1 (patch)
tree1bebd9b4ba948a5fa14d091275f9f334559f35d8 /erts/emulator/beam/erl_bif_info.c
parente0ecc86e35475b434efa6cccba44074ca1040b7a (diff)
downloadotp-156b011958a3b80e507039ddc916db039874ada1.tar.gz
otp-156b011958a3b80e507039ddc916db039874ada1.tar.bz2
otp-156b011958a3b80e507039ddc916db039874ada1.zip
erts: Refactor the ASSERT macro
Introduce unconditional ERTS_ASSERT and use that for both ASSERT and ASSERT_EXPR.
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rwxr-xr-xerts/emulator/beam/erl_bif_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c
index 3b25efd9af..a4f9f787cd 100755
--- a/erts/emulator/beam/erl_bif_info.c
+++ b/erts/emulator/beam/erl_bif_info.c
@@ -2091,7 +2091,7 @@ BIF_RETTYPE system_info_1(BIF_ALIST_1)
BIF_RET(res);
} else if (BIF_ARG_1 == am_sequential_tracer) {
val = erts_get_system_seq_tracer();
- ASSERT(is_internal_pid(val) || is_internal_port(val) || val==am_false)
+ ASSERT(is_internal_pid(val) || is_internal_port(val) || val==am_false);
hp = HAlloc(BIF_P, 3);
res = TUPLE2(hp, am_sequential_tracer, val);
BIF_RET(res);