发明名称 |
COMPILING SYSTEM AND METHOD FOR OPTIMIZING BINARY CODE |
摘要 |
A compiling system and method for optimizing binary code. The method includes the step of replacing a memory access on a stack area in order to save a value of a register with local variable access. The method further includes: giving a call number to a call instruction and an inlined code in response to an inline expansion of a code to be called by the call instruction; creating a parent-child relationship information for at least one of the call number; processing the memory accesses with an escaped stack pointer as a base address if a stack pointer has escaped; prohibiting a replacement of a prohibited memory access if the stack pointer has escaped; and replacing unprohibited memory access with the local variable access if the stack pointer has escaped.
|
申请公布号 |
US2012042306(A1) |
申请公布日期 |
2012.02.16 |
申请号 |
US201113206781 |
申请日期 |
2011.08.10 |
申请人 |
KAWAHITO MOTOHIRO;SHEIKH ALI I.;SUNDARESAN VIJAY;INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
KAWAHITO MOTOHIRO;SHEIKH ALI I.;SUNDARESAN VIJAY |
分类号 |
G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|