Patent ID: 6090155
Filing Date: 2000-07-18
Classification: G06F

Abstract:
A digital computer implemented method for converting a source program to an object code comprising the steps of:receiving the source program;generating a first intermediate representation of the source program;inserting a pseudo operation in said first intermediate representation representing a predetermined event; said predetermined event indicating an asynchronous activity can occur at a selected point in said first intermediate representation of the source program;processing sequential operations of said first intermediate representation including said inserted pseudo operation and defining an internal data structure of the source program including a corresponding visibility boundary for said inserted pseudo operation in said first intermediate representation; said visibility boundary being used for limiting store elimination and load elimination optimizations at said visibility boundary;processing said defined internal data structure and generating an optimized intermediate representation; andprocessing said optimized intermediate representation and generating the object code;wherein said step of inserting said pseudo operation in said first intermediate representation representing said predetermined event includes the steps of:identifying either compiler directive or syntax in the source program indicating said asynchronous activity can occur;generating a pseudo store instruction for selected variables at said selected point in said first intermediate representation of the source program; anddefining a pseudo reference instruction for selected variables at said selected point in said first intermediate representation of the source program.