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/global.h | |
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/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index d7dd6371b7..3030a095a8 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1200,7 +1200,7 @@ void print_pass_through(int, byte*, int); /* beam_emu.c */ int catchlevel(Process*); void init_emulator(void); -void process_main(void); +void process_main(Eterm* x_reg_array, FloatDef* f_reg_array); void erts_dirty_process_main(ErtsSchedulerData *); Eterm build_stacktrace(Process* c_p, Eterm exc); Eterm expand_error_value(Process* c_p, Uint freason, Eterm Value); |