发明名称 |
Process for generating dynamic type |
摘要 |
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. |
申请公布号 |
US9141356(B2) |
申请公布日期 |
2015.09.22 |
申请号 |
US201113325879 |
申请日期 |
2011.12.14 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Braude Michael J. |
分类号 |
G06F9/45;G06F9/455 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
Sullivan Kevin;Hoff Aaron;Minhas Micky |
主权项 |
1. A process for generating dynamic type code, comprising:
selecting a compiler generated type-checked template method for cloning having roughly a similar sequence of instructions as the dynamic type code to be generated, the compiler generated type-checked template method including a mark for custom instructions; injecting dynamic code at the mark for custom instructions in the compiler generated type-checked template method to generate the dynamic type code; wherein the generated code includes variations to the original code of the template method by the number and types of arguments; and compiling the generated code. |
地址 |
Redmond WA US |