×

Computer with integrated hierarchical representation (IHR) of program wherein IHR file is available for debugging and optimizing during target execution

  • US 5,175,856 A
  • Filed: 08/23/1990
  • Issued: 12/29/1992
  • Est. Priority Date: 06/11/1990
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer processor, a computer implemented method for compiling and optimizing a source code file written in one or more high level programming languages to produce an object code file and an integrated hierarchical representation file (the IHR file) for the source code file associated with the object code, both the object code file and the IHR file to be stored as electronic data files in a memory device, the object code file to be executed on a target computer processing system, the method comprising the steps of:

  • (a) compiling the source code file by performing the steps of;

    (a1) for each high level programming language, generating a HiForm (HF) machine independent representation of the high level program language, the HF representation to be stored as part of the IHR file;

    (a2) combining the HF representation for each high level programming language into a single HF representation;

    (a3) storing the single HF representation as part of the IHR file;

    (a4) generating context information and debug information for the source code file using the single HF representation and the source code file; and

    (a5) storing the context information and debug information as part of the IHR file;

    (b) optimizing the HF representation by performing the steps of;

    (b1) in response to a first user-selected option, optimizing the single HF representation to reorganize the single HF representation and generate HF optimization information; and

    (b2) storing the HF optimization information as part of the IHR file;

    (c) translating the HF representation into a LoForm (LF) representation for the target computer processing system by performing the steps of;

    (c1) generating a LoForm (LF) machine dependent, hierarchical representation for the HF representation for the target computer processing system; and

    (c2) storing the LF representation as part of the IHR file;

    (d) optimizing the LF representation by performing the steps of;

    (d1) in response to a second user-selected option, optimizing the LF representation to reorganize the LF representation and generate LF optimization information; and

    (d2) storing the LF optimization information as part of the IHR file; and

    (e) generating the object code file by performing the steps of;

    (e1) generating the object code file based upon the LF representation, including generating object code information;

    (e2) storing the object code file in the memory device;

    (e3) storing the object code information as part of the IHR file; and

    (e4) storing the IHR file in the memory device, such that the information stored in the IHR file is available during execution of the object code file on the target computer processing system.

View all claims
  • 10 Assignments
Timeline View
Assignment View
    ×
    ×