Patent ID: 6820258
Filing Date: 2004-11-16
Classification: G06F

Abstract:
A method for dynamically generating a new executable representation E of an input program representation P and causing a computer system to transfer execution to the new executable representation E from an original executable representation O, said method comprising:a) identifying one or more program yield points in the input program representation P at which execution of said original executable representation O can be interrupted to recover program state associated with said input program representation P; b) generating a prologue of statements which when used with the input program representation P, set up program state associated with the input program representation P at a particular yield point; c) adding said prologue of statements to an intermediate representation of said input program representation P to generate a new input program representation Pâ€²; d) compiling the new input program representation Pâ€² with a compiler to generate the new executable representation E which is optimized for execution on a target computer system; e) the computer system transferring execution to the new executable representation E from the original executable representation O.