发明名称 PROCESSING METHOD FOR OPTIMIZATION OF PROGRAM
摘要 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.
申请公布号 JPS62264333(A) 申请公布日期 1987.11.17
申请号 JP19860109107 申请日期 1986.05.13
申请人 MATSUSHITA ELECTRIC IND CO LTD 发明人 KIMURA KOZO
分类号 G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址