Patent ID: 6675377
Filing Date: 2004-01-06
Classification: G06F

Abstract:
A program conversion apparatus that generates at least one executable instruction from a source program written in an object-orientated programming language, and comprises:a storage means for storing the source program including a plurality of class definitions and a call instruction having a function name, each class definition defining a class, an inheritance relationship between the class and another class, and a virtual function belonging to the class and identified by the function name, only one of the virtual functions defined in the plurality of class definitions being executed when the call instruction is executed; a judging means for judging whether a single virtual function from the virtual functions can be determined as the virtual function identified by the function name in the call instruction, judgement performed by referring to the source program without executing the call instruction; a generating means for generating, when a single function is determined, an executable instruction for calling directly an executable instruction group corresponding to the single virtual function.