aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-09-05 11:43:24 +0200
committerBjörn Gustavsson <[email protected]>2016-09-05 11:43:24 +0200
commit727f08889ab2096b540d466858ded1271bf261a8 (patch)
treeee9f45e63766d76ff3d7df52db294c26c0b1a92c /erts/emulator/beam/erl_process.c
parent5dba22121d77237edae5cf805b9da5f7e056e532 (diff)
parentd5ba65f0aa25768c1af7a1639eb73298b029eaf3 (diff)
downloadotp-727f08889ab2096b540d466858ded1271bf261a8.tar.gz
otp-727f08889ab2096b540d466858ded1271bf261a8.tar.bz2
otp-727f08889ab2096b540d466858ded1271bf261a8.zip
Merge branch 'bjorn/erts/help-clang'
* bjorn/erts/help-clang: Slightly reduce code size of process_main()
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index d3526f2d5c..02a430609a 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -8167,7 +8167,8 @@ sched_thread_func(void *vesdp)
ERTS_VERIFY_UNUSED_TEMP_ALLOC(NULL);
#endif
- process_main();
+ process_main(esdp->x_reg_array, esdp->f_reg_array);
+
/* No schedulers should *ever* terminate */
erts_exit(ERTS_ABORT_EXIT,
"Scheduler thread number %beu terminated\n",