Back to results
US 2013/0159980 A1Published application
Process for generating dynamic type
AssigneeMicrosoft Corporation
InventorMichael J. Braude
Life of this patent
Estimating the term…
Abstract
A process for generating dynamic type is disclosed. A compiler generated template method including a mark for custom instruction is selected for cloning. Dynamic code is injected at the mark for the custom instructions. The template method including the injected dynamic code is compiled.
Claims20
A process for generating dynamic type, comprising
- selecting a compiler generated template method for cloning, the compiler generated template method including a mark for custom instructions;
- injecting dynamic code at the mark for custom instructions;
- and
- compiling the template method including the injected dynamic code.
1 more element
A process for generating dynamic type, comprising;
- emitting original instructions of a selected compiler-generated template method template having a mark for injecting custom instructions;
- calling a procedure to inject dynamic code in the context of the dynamic type at the mark for custom instructions rather than emitting original instructions at the mark.
A process for generating dynamic type, comprising:
- selecting a compiler generated template method within an application, the template method including original instructions and an embedded call to a patching procedure;
- emitting the original instructions;
- injecting custom instructions with the patching procedure instead of cloning the embedded call;
- and
- compiling the emitted original instructions and the injected custom instruction at runtime.
2 more elements
Dependencies are inferred from the claim text.