摘要 |
PROBLEM TO BE SOLVED: To optimize a program by performing code transfer over a function call in a single function.SOLUTION: A computer 2 executes processes (142, 143) for detecting a code transferable between function calls, a process (144) for transferring a code between the function calls, and a process (146) for generating a code. The processes for detecting a code transferable between function calls detect a code transferable from a function in a given program to the same function over a function call of the function. The process for transferring a code between function calls transfers the code detected by the processes for detecting a code between function calls to the same function over the function call of the function. Consequently, the execution time of a function can be shortened. |