发明名称 COMPILE METHOD AND COMPILE PROGRAM
摘要 PROBLEM TO BE SOLVED: To provide a compile method and program for deleting functions to be redundantly generated regardless of whether or not to generate or call a class object. SOLUTION: The compile method described in an object-oriented language to convert an input program having at least one class to an object program includes: a virtual inheritance analysis step S10 for analyzing whether the class in the input program is defined by virtual inheritance; a special function commonalization step S11 for generating a code for commonalizing at least either a plurality or constructors or destructors of the class when the class is not defined by the virtual inheritance as a result of the virtual inheritance analysis step; and a generation step S6 for generating an object program including the code generated by the special function commonalization step. COPYRIGHT: (C)2009,JPO&INPIT
申请公布号 JP2009169864(A) 申请公布日期 2009.07.30
申请号 JP20080009787 申请日期 2008.01.18
申请人 PANASONIC CORP 发明人 ASAO SHINOBU
分类号 G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址