首页>
外国专利>
METHOD FOR IMPLEMENTING VIRTUAL FUNCTION TABLE IN COMPILER FOR OBJECT-ORIENTED PROGRAM LANGUAGE
METHOD FOR IMPLEMENTING VIRTUAL FUNCTION TABLE IN COMPILER FOR OBJECT-ORIENTED PROGRAM LANGUAGE
展开▼
机译:在面向对象程序语言的编译器中实现虚拟功能表的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
PURPOSE: To implement virtual functions in a compiler by storing a pointer to a subtable in each tile table entry and storing a pointer to an executable code in each subtable entry. ;CONSTITUTION: A virtual function table 202 for a class having plural function members 203 to 212 is provided. This virtual function table 202 includes one tile table 220 and plural subtables 221 to 223. Plural subtables 221 to 223 are assigned, and each subtable has entries, and one tile table 220 is assigned to its class. The tile table 220 includes one entry for assigned subtables 221 to 223. The pointer to the executable code for cooperative operation of virtual function members 203 to 212 is stored in each subtable entry.;COPYRIGHT: (C)1994,JPO
展开▼