EP1636701A2

An intermediate representation for multiple exception handling models

Abstract

This record has no abstract on file.

Term

Term ended

Projected expiry passed 21 May 2024, 2.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

53 claims: 7 independent, 46 dependent

  1. 1
    Claims of equivalent WO 2005006120 A2 CLAIMS We claim:1. A method of processing a uniform intermediate representation of software comprising exception handling constructs, the method comprising: reading the uniform intermediate representation of software comprising exception handling constructs;wherein the uniform intermediate representation explicitly expresses exception handling control flow of the software;and generating a computer-readable version of the software implementing the exception handling control flow based on the uniform intermediate representation.
  2. 15
    A system for implementing uniform exception handling intermediate representations for multiple source code languages, the system comprising:an intermediate language reader for obtaining an intermediate language representation of a source code file and generating a uniform intermediate representation of exception handling constructs of the source code based on the intermediate language representation;wherein the unifonn intermediate representation explicitly expresses exception handling control flow of the source code.
  3. 32
    A computer readable storage medium having stored thereon an intermediate representation of exception handling constructs of source code, the intermediate representation of exception handling constructs comprising:a first instruction for expressing explicit transfer of control to a finalization code block;a second instruction for expressing acceptance of control fransfer into the finalization code block;and a third instruction for expressing transfer of control out of the finalization code block.
  4. 44
    A computer readable storage medium having stored thereon an intermediate representation of exception handling constructs of source code, the intermediate representation of exception handling constructs comprising:a first instruction for catching an exception and returning an exception object related to the exception;and a second instruction for specifying a handler for the exception based on a type value of the exception object.
  5. 48
    A computer readable storage medium having stored thereon an intermediate representation of exception handling constructs of source code, the intermediate representation of exception handling constructs comprising:an instruction for specifying a handler for an exception based on a type value of an exception object related to the exception, wherein a destination operand of the instruction comprises a predetermined exception object, a first source operand of the instruction comprises a label indicative of a code block related to the handler and second source operand comprises a label indicative of a code block related to a continuation.
  6. 50
    A computer readable storage medium having stored thereon an intermediate representation of exception handling constructs of source code, the intermediate representation of exception handling constructs comprising:a first instruction for indicating entry into a try-except region;and a second instruction for selecting one of a plurality of confrol flow paths for exception handling based on a type value related to the exception, wherein the plurality of confrol flow paths available for selection includes a path related to resumption of execution of an instruction causing the exception.
  7. 53
    A system for implementing uniform exception handling intermediate representations for multiple source code languages, the system comprising:means for reading an intermediate language representation of a source code file and generating a uniform intermediate representation of exception handling constructs of the source code based on the intermediate language representation;wherein the uniform intermediate representation explicitly expresses exception handling control flow of the source code.