Compiler Mechanism for Handling Conditional Statements
AssigneeRed Hat, Inc.
InventorsJason I.H. Baron, Richard Henderson, Roland McGrath
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorsJason I.H. Baron, Richard Henderson, Roland McGrath
Estimating the term…
A computer-implemented method and apparatus for optimizing conditional code by identifying conditional code in a source code, adding a no-operation instruction to an executable code corresponding to the source code in place of the conditional code, adding an entry to a table to pair the no-operation instruction to the conditional code, compiling the conditional code, and storing the compiled conditional code separate from the executable code. A computer-implemented method and apparatus to optimize conditional code by loading an executable code to be executed, checking whether conditional code associated with the executable code is enabled for execution, looking up a location of a no-operation instruction in a table and a location of a compiled conditional code in the table, and replacing the no-operation instruction in the executable code with the compiled conditional code.
A computer-implemented method:
A computer-implemented method comprising:
A computer-readable storage medium having instructions stored therein, which when executed cause the computer to perform a set of operations comprising:
A computer-readable storage medium having instructions stored therein, which when executed cause the computer to perform a set of operations comprising:
Dependencies are inferred from the claim text.