aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-12-06 11:36:37 +0100
committerLukas Larsson <[email protected]>2011-12-08 15:55:02 +0100
commitb74da411f8dc99039faf33c0870d671c36dc402b (patch)
treeb636f56095193cc8465cb890dbebb0ebea87c33a
parentaaa3cd771de8694726b27731eb43b03650f46a69 (diff)
downloadotp-b74da411f8dc99039faf33c0870d671c36dc402b.tar.gz
otp-b74da411f8dc99039faf33c0870d671c36dc402b.tar.bz2
otp-b74da411f8dc99039faf33c0870d671c36dc402b.zip
Return true/false instead of num for +M<S>t info
OTP-7775
-rw-r--r--erts/emulator/beam/erl_alloc_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index af386c9197..c32938bdff 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -3014,9 +3014,7 @@ info_options(Allctr_t *allctr,
add_2tup(hpp, szp, &res, am.low, allctr->mseg_opt.low_mem ? am_true : am_false);
#endif
add_2tup(hpp, szp, &res, am.ramv, allctr->ramv ? am_true : am_false);
- add_2tup(hpp, szp, &res, am.t, (allctr->t
- ? bld_uint(hpp, szp, (Uint) allctr->t)
- : am_false));
+ add_2tup(hpp, szp, &res, am.t, (allctr->t ? am_true : am_false));
add_2tup(hpp, szp, &res, am.e, am_true);
}