摘要 |
PROBLEM TO BE SOLVED: To provide a method, a program, and a device for compilation which improve the execution performance of programs written in various high-level languages. SOLUTION: A compiler converts a source file 111 into an intermediate language by a front end part 12. A back-end part 13 performs temporary expansion by a temporary expansion part 14 into an intermediate language expanded on the assumption that there is no data dependence and/or an intermediate language expanded on the assumption that there is data dependence, detects whether both or one of the intermediate languages have data dependence by a data flow analysis part 15, selects one of them by a primary expansion part 16 according to the detection result, and performs conversion into an object file 112 by an object generation part 17.
|