After the changes in ticket #2840, calling conventions should be ok. Changes in this ticket are for the script which checks the calling conventions.