发明名称 Compiler apparatus and method for devirtualizing virtual method calls
摘要 A front-end compiler generates unique instructions for virtual method calls in intermediate representation code that may be passed to a back-end compiler. A back-end compiler in accordance with the preferred embodiments receives the intermediate representation code, and processes the unique instructions to generate therefrom equivalent code with explicit method calls, where possible. The machine code from the back-end compiler is then executed using sample inputs to generate profile data. The profile data and intermediate representation code are fed into the back-end compiler, which then generates code that may devirtualize virtual method calls according to the profile data by providing one or more explicit method calls for target methods that have an execution frequency (as indicated by the profile data) that exceeds a predetermined threshold.
申请公布号 US2003051234(A1) 申请公布日期 2003.03.13
申请号 US20010948749 申请日期 2001.09.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SCHMIDT WILLIAM JON
分类号 G06F9/42;G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/42
代理机构 代理人
主权项
地址