发明名称 |
Execution control during program code conversion |
摘要 |
An execution control method is described for use in a translator ( 19 ) which converts subject code ( 17 ) into target code ( 21 ). The translator ( 19 ) includes a translator trampoline function ( 191 ) which is called from a translator run loop ( 190 ) and which in turn calls either to a translator code generator ( 192 ) to generate target code, or else calls previously generated target code ( 212 ) for execution. Control then returns to the translator trampoline function ( 191 ) to make a new call, or returns to the translator run loop ( 190 ). Other aspects include making context switches through the trampoline function ( 191 ) and setting first and second calling conventions either side of the trampoline function ( 191 ). Jumping directly or indirectly between target code blocks ( 212 ) during execution is also described.
|
申请公布号 |
US2006206880(A1) |
申请公布日期 |
2006.09.14 |
申请号 |
US20050139047 |
申请日期 |
2005.05.27 |
申请人 |
BARRACLOUGH GAVIN;WAN KIT M;BROWN ALEXANDER B;MACKINTOSH DAVID N |
发明人 |
BARRACLOUGH GAVIN;WAN KIT M.;BROWN ALEXANDER B.;MACKINTOSH DAVID N. |
分类号 |
G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|