摘要 |
A method, apparatus, and article of manufacture for optimizing programming language compilers and run-time environments. More specifically, the present invention provides a computer-implemented method for supporting multiple call interface conventions for computer programs using compiler directives. Compiler directives are embedded in the source program that indicate the call interface conventions applicable to procedure calls or procedure entry points in the program, starting where a first compiler directive is included in the source program and continuing until another compiler directive of the same type indicates a new call interface convention or until the end of the source program. In addition, compiler options may be specified at compiler run-time to set the interface conventions for the procedure calls and the procedure entry points. These specifications can be overridden by the corresponding compiler directives specified within the source program.
|