Patent ID: 7120898

Claim:
A method implemented at least in part by a computing device of processing a source language independent intermediate representation of software comprising exception handling constructs, the method comprising: reading the source language independent intermediate representation of software comprising exception handling constructs; wherein the source language independent intermediate representation explicitly expresses exception handling control flow of the software; and generating, in a computer-readable media having a tangible component, a computer-readable version of the software implementing the exception handling control flow based on the source language independent intermediate representation; wherein the source language independent intermediate representation comprises: a first instruction for indicating entry into a try-except region; and a second instruction for selecting one of a plurality of control flow paths for exception handling based on a type value related to a first exception, wherein the plurality of control flow paths available for selection includes a path related to resumption of execution of an instruction causing the first exception; wherein the second instruction for selecting one of the plurality of control flow paths for exception handling comprises: an operand indicative of the type value of the first exception; a label operand indicative of a handler code block; a label operand indicative of a continuation code block; and a label operand indicative of the exception causing instruction.