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.
Um componente do compilador para a geração de uma seqüência de instrução optimal, a seqüência including uma referência não resolvida compile-time a ser resolvida no runtime. O compilador que gera uma lista do snippet com as entradas que correspondem aos snippets definidos para instruções including referências compile-time não resolvidas. Uma rotina runtime do ajudante que está sendo definida para referências resolvendo no runtime. Para cada instrução com uma referência não resolvida, gerando um snippet including dados para identificar a referência e para a definição permitindo da referência no runtime pela rotina runtime do ajudante. O snippet também including uma cópia da instrução que contem a referência não resolvida. A posição no código compilado para a instrução não resolvida que está sendo escrita com uma instrução da chamada ao snippet. O ajudante runtime que está sendo invocado pelo snippet no runtime para resolver as referências e para copí a cópia não resolvida do código ao código compilado, com as referências resolvidas.