aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-09-26 22:30:26 +0200
committerSverker Eriksson <[email protected]>2013-09-30 17:45:47 +0200
commit8d5b9a53a1fd5e2264d705911af23cd484ccead0 (patch)
tree9dce9d89b3c59877778756434664b76815ef0792 /erts/emulator/beam/erl_alloc.c
parentd6d531012957f8e3315d44c2bcb10938ab5d6e72 (diff)
downloadotp-8d5b9a53a1fd5e2264d705911af23cd484ccead0.tar.gz
otp-8d5b9a53a1fd5e2264d705911af23cd484ccead0.tar.bz2
otp-8d5b9a53a1fd5e2264d705911af23cd484ccead0.zip
erts: Add erts_bld_tupleX macros
for compile time argument checking
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index e30b3e7b51..ad1020d7d6 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -3060,13 +3060,13 @@ reply_alloc_info(void *vair)
? NIL
: erts_mseg_info(0, NULL, NULL, hpp != NULL,
hpp, szp));
- ainfo = erts_bld_tuple(hpp, szp, 3,
- alloc_atom,
- make_small(0),
- ainfo);
+ ainfo = erts_bld_tuple3(hpp, szp,
+ alloc_atom,
+ make_small(0),
+ ainfo);
#else
- ainfo = erts_bld_tuple(hpp, szp, 2, alloc_atom,
- am_false);
+ ainfo = erts_bld_tuple2(hpp, szp, alloc_atom,
+ am_false);
#endif
break;
default: