calling convention


Also found in: Wikipedia.

calling convention

(programming)
The arrangement of arguments for a procedure or function call. Different programming languages may require arguments to be pushed onto a stack or entered in registers in left-to-right or right-to left order, and either the caller or the callee can be responsible for removing the arguments. The calling convention also determines if a variable number of arguments is allowed.
References in periodicals archive ?
According to Google, the shift to 64 bits provides a marked improvement in rendering speed, thanks to the latest compiler and processor optimizations and "a calling convention that allows more function parameters to be passed quickly by registers.
CLD) compatibility and the GNU calling convention, so that C code written using the Motorola tools can be recompiled/assembled with TASKING tools with an average 25% code improvement.
The new technology, dubbed Omniscient Code Generation (OCG), overcomes problems in conventional compilers that can miss inconsistent calling conventions, variable declarations and redundant code because they compile each module independently and separately.
Also, additional calling conventions (ways in which the function call and function return are coded) have been added and these can be optionally used to further increase the speed of the compiled program.
Similarly, the Foundations-specification effort gained consensus on calling conventions, result/error reporting, and event handling issues, and is on track for early 2Q completion.