diff options
author | Björn Gustavsson <[email protected]> | 2016-08-23 07:46:43 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-09-01 15:29:32 +0200 |
commit | d5ba65f0aa25768c1af7a1639eb73298b029eaf3 (patch) | |
tree | ea37b407bb1e0edd549d510bcb18e689bbdc6824 /erts/emulator/beam/erl_init.c | |
parent | 18d398f0908346dbf9f7e2c08f68759a05673d2f (diff) | |
download | otp-d5ba65f0aa25768c1af7a1639eb73298b029eaf3.tar.gz otp-d5ba65f0aa25768c1af7a1639eb73298b029eaf3.tar.bz2 otp-d5ba65f0aa25768c1af7a1639eb73298b029eaf3.zip |
Slightly reduce code size of process_main()
clang will generate smaller code if we avoid reassigning the
reg and freg arrays. That can be easily arranged by passing them
as arguments to process_main().
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r-- | erts/emulator/beam/erl_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c index 781bf024dd..2f68ece37b 100644 --- a/erts/emulator/beam/erl_init.c +++ b/erts/emulator/beam/erl_init.c @@ -2302,7 +2302,7 @@ erl_start(int argc, char **argv) #endif set_main_stack_size(); erts_sched_init_time_sup(esdp); - process_main(); + process_main(esdp->x_reg_array, esdp->f_reg_array); } #endif } |