(57) A program transformation processing system comprises a syntax analyzing part receiving
a source program for analyzing the syntax of the received source program and generating
intermediate codes in a predetermined format, and an optimization processing part
receiving the intermediate codes to perform a predetermined optimization processing
for generating an object code having as small program size as possible and as short
execution time as possible. The optimization processing part includes a candidate
intermediate code selection part for selecting from the intermediate codes an optimization
candidate intermediate code which meets with a predetermined selection condition and
which has possibility of one being to be optimized, an optimized pattern extracting
part for performing a searching using the candidate intermediate code as a starting
point, to extract an optimized pattern which is a pattern of the intermediate codes
to be optimized, and an optimized intermediate code outputting part for outputting
an an optimized intermediate code corresponding to the optimized pattern.
|

|