aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-23 07:46:43 +0200
committerBjörn Gustavsson <[email protected]>2016-09-01 15:29:32 +0200
commitd5ba65f0aa25768c1af7a1639eb73298b029eaf3 (patch)
treeea37b407bb1e0edd549d510bcb18e689bbdc6824 /erts/emulator/beam/global.h
parent18d398f0908346dbf9f7e2c08f68759a05673d2f (diff)
downloadotp-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.h2
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);