Patent ID: 6728954
Filing Date: 2004-04-27
Classification: G06F

Abstract:
A method for managing the execution of an optimized code, having at least one mode of the following modes:(One) a first mode in which an optimized program is executed from a current statement until reaching a first instruction of the statement that is follow-by-optimized to the current statement; (Two) a second mode in which an optimized code is executed, starting at a current statement and ending at a first instruction of the closest follow-by-source statement which also is follow-by-optimized to the current statement; (Three) a third mode in which an optimized code is executed, starling at a current statement and ending at the first instruction of the follow-by-optimized statement which also is follow-by-source to the current statement; (Four) a fourth mode in which an optimized code is execute starting at a current statement and ending at a statement that is follow-by-optimized to the end of the current statement; (Five) a fifth mode in which an optimized code is executed, starting at a current statement and ending at a first instruction of a statement that is follow-by-optimized to all statements which are previous-by-source to the current statement and belong to some source flow path terminating at the current statement; wherein said method comprises the steps of: (1) receiving at least an optimized flow graph and a source flow graph of a source code from which the optimized code was originated; receiving additional information that describes a connection between the optimized flow graph and the source flow graph; and (2) executing an optimized code according to one of the modes and to at least one matched breakpoints being set along at least one path of the optimized flow graph.