1. A compile method comprising the steps of: allocating a variable which is living and used after processing by an exception processing program, to a register whose contents are not changed in delivery processing, during a period of the delivery processing in which a flow of processing is delivered to the exception processing program written as a part of a program, in case where exception occurs within a predetermined range of the program; and generating a code corresponding to the delivery processing.