发明名称 |
INFORMATION PROCESSOR |
摘要 |
PROBLEM TO BE SOLVED: To allow one program to use a class instance generated by another program and call a method in the latter program by reading the pointer to method information out of a method table and branching off to the method. SOLUTION: A method number determination part 208 of a static link part 207 sets a method number determined uniquely in a class to a method included in a source program. A method table generation part 209 generates a method table according to the method number. A method call instruction conversion part 210 converts the arguments of a method call instruction when the method call instruction is present in the source program. A method table read part 215 of a virtual machine part 214 when executing the instruction converted by the method call instruction conversion part 210 reads the contents of the method table out and a method dispatch part 216 calls the method in the found address.
|
申请公布号 |
JP2000122876(A) |
申请公布日期 |
2000.04.28 |
申请号 |
JP19980294934 |
申请日期 |
1998.10.16 |
申请人 |
MATSUSHITA ELECTRIC IND CO LTD |
发明人 |
YOSHIDA TSUTOMU;TOMINAGA NOBUTERU;HARUNA NAOSUKE |
分类号 |
G06F9/45;G06F9/42;G06F9/44;G06F9/445;(IPC1-7):G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|