发明名称 PROGRAM CONVERSION METHOD
摘要 PROBLEM TO BE SOLVED: To provide a program conversion method for converting virtual function access into direct function access in order to improve execution performance and reduce a code size. SOLUTION: All classes included in a program 111 are extracted and succession relation among the classes is analyzed to obtain class succession relation information 113 (S104). Whether the virtual function of the classes redefines a virtual function of a base class or not is analyzed and virtual function redefinition information 114 is obtained (S105). In the program 111, a directly accessed virtual function and a start object are analyzed to obtain virtual function direct access information 115 (S107). While referring to the class succession relation information 113, the virtual function redefinition information 114 and the virtual function direct access information 115, whether the virtual function access can be converted into the direct function access or not is decided, and when the conversion is possible, the virtual function access is converted into the direct function access (S108). COPYRIGHT: (C)2006,JPO&NCIPI
申请公布号 JP2006146613(A) 申请公布日期 2006.06.08
申请号 JP20040336539 申请日期 2004.11.19
申请人 MATSUSHITA ELECTRIC IND CO LTD 发明人 TANAKA HIROHISA
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址