aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-11-13 09:53:51 +0100
committerRickard Green <[email protected]>2015-11-13 09:53:51 +0100
commitcbad4a1be72c75a452a3d70d57bf1c1145c08ad9 (patch)
tree359cdd90d063bff84d6e7ef9ea81f2ef81acb67c /erts/emulator/beam/bif.c
parentc66844d145177fbb65bcc101a9962e5a5673c162 (diff)
parent9c6f45b901ee701553afe34c0b33b7d931d73fd9 (diff)
downloadotp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.tar.gz
otp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.tar.bz2
otp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.zip
Merge branch 'rickard/gc-bump-reds/OTP-13097'
* rickard/gc-bump-reds/OTP-13097: 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 d415603930..f0340540cb 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);
}
/**********************************************************************/