发明名称 PROGRAM CONVERTING DEVICE
摘要 PROBLEM TO BE SOLVED: To provide a program converting device for reducing the number of execution type instructions to be generated in converting virtual function calling in a specific case into an execution type program in a program described in object directional language. SOLUTION: An optimization information adding device 100 stores a source program including class definition including a class and a virtual function and a base class and a calling instruction for calling a virtual function, and detects any class which is not inherited by the other class, and adds optimization information to the class definition including the detected class. A compiler device 110 reads a calling instruction from a source program, and judges whether or not a virtual function belongs to the class which is not inherited by the other class by using the optimization information included in the source program, and generates an execution type instruction group for directly calling the virtual function.
申请公布号 JP2001154855(A) 申请公布日期 2001.06.08
申请号 JP20000257814 申请日期 2000.08.28
申请人 MATSUSHITA ELECTRIC IND CO LTD 发明人 TANAKA HIROHISA
分类号 G06F9/45;G06F9/44;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址