Patent ID: 7426725

Claim:
A method for cross-module in-lining, comprising: in a first phase of a compiling process, the compiling process comprising a front-end phase, an inter-procedural analysis phase in which cross-module analysis is performed on a plurality of modules, and a back-end phase in which the plurality of modules are processed individually, the inter-procedural phase being the first phase, determining to in-line a first function in a first module into a second function in a second module but not performing said in-line during the first phase; providing the location of the first function; providing instructions for in-lining to be performed in a second phase of the compiling process; in the second phase of the compiling process, the back-end phase being the second phase, following the instructions to in-line code of the first function into the second function in the second module without accessing the first module.