aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/trace_instrs.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-25 14:40:50 +0200
committerBjörn Gustavsson <[email protected]>2017-08-31 15:45:32 +0200
commite53b75431e40cec0c26032df1867301e76688009 (patch)
tree592f6aed85e6dc26531ebf217cd6c69283754e1c /erts/emulator/beam/trace_instrs.tab
parent50da607331bc2de990828c3c74bbf4ee7efa27f0 (diff)
downloadotp-e53b75431e40cec0c26032df1867301e76688009.tar.gz
otp-e53b75431e40cec0c26032df1867301e76688009.tar.bz2
otp-e53b75431e40cec0c26032df1867301e76688009.zip
Eliminate three arguments for erts_hibernate()
We don't need to pass x(0), x(1), and x(2) because they can already be found in the register array.
Diffstat (limited to 'erts/emulator/beam/trace_instrs.tab')
-rw-r--r--erts/emulator/beam/trace_instrs.tab2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/trace_instrs.tab b/erts/emulator/beam/trace_instrs.tab
index dfd1d16d58..c71f2ef003 100644
--- a/erts/emulator/beam/trace_instrs.tab
+++ b/erts/emulator/beam/trace_instrs.tab
@@ -102,7 +102,7 @@ i_yield() {
i_hibernate() {
HEAVY_SWAPOUT;
- if (erts_hibernate(c_p, r(0), x(1), x(2), reg)) {
+ if (erts_hibernate(c_p, reg)) {
FCALLS = c_p->fcalls;
c_p->flags &= ~F_HIBERNATE_SCHED;
goto do_schedule;