摘要 |
PURPOSE:To reduce the overhead of discontinuous execution due to the call of a function and to execute a program at a high speed, by giving the in-line code evolution only to the function that is frequently called with other functions kept as they are. CONSTITUTION:A C language source program 1 shown in the diagram is inputted to a macroprocessing part 2. The program 1 is however given to a function processing part 4 as it is since no line to undergo the macroprocessing is contained in the program 1. The part 4 receives a function designation table8 from a function designating part 3 and searches 'subr 1' of line #7 out of the program 1. If the part 4 finds out the 'subr 1' on the 7th line of the program 1, the function defining part of the 'subr 1' is put into the 7th line of the program 1. The 'subr 1' also exists on the lines other than the 7th line and these other lines are not processed since they are not designated by the table 8. Thus the in-line code evolution is carried out with the designated function call part.
|