摘要 |
PROBLEM TO BE SOLVED: To perform an in-line expansion capable of enhancing execution performance of an object program when a compiler performing in-line expansion by enabling optimization processing applied by the compiler even if both an actual argument and a dummy argument are arrays, with the dimensions of the arrays being mutually differed. SOLUTION: In in-line expansion processing, dummy argument information referred to within a calling destination function is compared with actual argument information of a calling source, and when the number of array dimensions of the dummy argument is the number of array dimensions of the actual argument or less, with subscripts being matched with the subscript range of the actual argument, and a subscript given in the actual argument is a lower limit value of the subscripts, processing for substituting the name of the dummy argument referred to within the calling destination function by a reference using the name of the actual argument of the calling source is performed. A factor causing that the reference relation of memory address cannot be determined by the execution is omitted by executing the substitution during in-line expansion to facilitate the optimization processing by the compiler. COPYRIGHT: (C)2008,JPO&INPIT
|