Invention Grant
US08458681B1 Method and system for optimizing the object code of a program 有权
用于优化程序目标代码的方法和系统

Method and system for optimizing the object code of a program
Abstract:
A method for optimizing the object code of a program is disclosed. A compiler generates, respectively, first and second object code segments for first and second source code segments of the program. If the two object code segments are determined to be identical, the compiler generates first and second debugging information entries in a compilation unit of the program and both entries include information for locating the first object code segment. The compiler inserts two entries into a call table in the compilation unit, each entry including information for locating a respective call site that invokes a respective source code segment within a call stack of the program and information for locating a respective debug information entry. The call table is used for associating an operation within the first object code segment with one of the first and second source code segments at runtime.
Public/Granted literature
Information query
Patent Agency Ranking
0/0