Hint generation in smart recompilation
First Claim
Patent Images
1. In a computer system including a memory, a method of compiling source programs, the method comprising the steps of:
- compiling a first program to produce a first compiled program and a first set of post-code generation information characterizing the first compiled program;
compiling a second program to produce a second compiled program using the first set of postcode generation information to minimize differences between the first and second compiled program;
determining differences between the first and second compiled programs; and
compiling a third program dependent upon the differences between the first and second compiled programs.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system for compiling a source program using smart recompilation. The invention allows fragments to contain "invocation specific" information, which is generated during a code generation phase of compilation. A hint generator attempts to preserve values of the invocation specific information between successive invocations of the compiler.
-
Citations
17 Claims
-
1. In a computer system including a memory, a method of compiling source programs, the method comprising the steps of:
-
compiling a first program to produce a first compiled program and a first set of post-code generation information characterizing the first compiled program; compiling a second program to produce a second compiled program using the first set of postcode generation information to minimize differences between the first and second compiled program; determining differences between the first and second compiled programs; and compiling a third program dependent upon the differences between the first and second compiled programs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. In a computer system including a memory, a method of compiling a source program, the method comprising the steps of:
-
compiling a first source file having a first contents to produce a first compiled program and a first set of post-code generation hints characterizing the first compiled program; modifying the first source file to have a second contents differing from the first contents; compiling the first source file having the second contents to produce a second compiled program using the first set of post-code generation hints to minimize differences between the first and second compiled programs; determining whether a portion of the second compiled program is different from a corresponding portion of the first compiled program; and compiling another source file, in response to the determining step, when a portion of the second compiled program is different from a corresponding portion of the first compiled program.
-
Specification