Compiler generation of instruction sequences for unresolved storage references
AssigneeInternational Business Machines Corporation
InventorKevin A. Stoodley
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorKevin A. Stoodley
Estimating the term…
A compiler component for the generation of an optimal instruction sequence, the sequence including a compile-time unresolved reference to be resolved at runtime. The compiler generating a snippet list with entries corresponding to snippets defined for instructions including unresolved compile-time references. A runtime helper routine being defined for resolving references at runtime. For each instruction with an unresolved reference, generating a snippet including data for identifying the reference and for permitting resolution of the reference at runtime by the runtime helper routine. The snippet also including a copy of the instruction containing the unresolved reference. The location in the compiled code for the unresolved instruction being written with a call instruction to the snippet. The runtime helper being invoked by the snippet at runtime to resolve the references and to copy the unresolved code copy to the compiled code, with the references resolved.
A computer program product comprising a computer usable medium tangibly embodying computer readable program code means comprising a compiler and an associated runtime helper, the runtime helper being defined for resolving references at runtime, the compiler comprising means to emit compiled code including a set of target instructions, each target instruction having an associated target location in the emitted compiled code and having an unresolved reference at compile time, the emitted compiled code for each target instruction comprising:
A computer program product comprising a computer usable medium tangibly embodying computer readable program code means for defining a Java runtime environment, said computer readable program code means comprising a Java just in time compiler and an associated runtime helper, the runtime helper being defined for resolving references at runtime, the compiler comprising means to emit compiled code including a set of target instructions, each target instruction having an associated target location in the emitted compiled code, each target instruction including one or more unresolved references at compile time, the means to emit the compiled code comprising:
A method of generating compiled code for an instruction having an unresolved compile-time reference, comprising the acts of:
A method for emitting compiled computer code to resolve references in a set of target instructions, each target instruction to be executed at a target location in the compiled code, each target instruction including an unresolved reference at compile time, the method comprising:
Dependencies are inferred from the claim text.