aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-11-11 11:39:32 +0100
committerRickard Green <[email protected]>2015-11-12 15:25:48 +0100
commit9c6f45b901ee701553afe34c0b33b7d931d73fd9 (patch)
treebe8cf72e18a7d667b2541dc08fbb2d649d876098 /erts/emulator/beam/bif.c
parentb56f5a163555181dceb79cbfd0d69d3cb5015e9c (diff)
downloadotp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.gz
otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.bz2
otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.zip
Bump reductions on GC
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r--erts/emulator/beam/bif.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c
index e4283ac945..57dd045193 100644
--- a/erts/emulator/beam/bif.c
+++ b/erts/emulator/beam/bif.c
@@ -3839,11 +3839,9 @@ BIF_RETTYPE now_0(BIF_ALIST_0)
BIF_RETTYPE garbage_collect_0(BIF_ALIST_0)
{
- int reds;
-
FLAGS(BIF_P) |= F_NEED_FULLSWEEP;
- reds = erts_garbage_collect(BIF_P, 0, NULL, 0);
- BIF_RET2(am_true, reds);
+ erts_garbage_collect(BIF_P, 0, NULL, 0);
+ BIF_RET(am_true);
}
/**********************************************************************/