发明名称 Method for implementing dynamic type checking
摘要 Methods and apparatuses for dynamic type checking are described. For one embodiment runtime code generation is used to effect dynamic type checking by generating code specialized to different objects types. For one embodiment a virtual dynamic type check (DTC) function is generated for each object at run time. The virtual DTC function contains a sequence of instructions to type check every element (type) within an object's type hierarchy. The virtual DTC function is tailored for a particular type and thus conducts dynamic type checking more efficiently for objects of the particular type. For one embodiment the DTC function can complete type checking of interface type hierarchies. For one embodiment a compiler may determine whether a type is a class type or interface type and may generate a virtual DTC function only for interface types.
申请公布号 US2003188295(A1) 申请公布日期 2003.10.02
申请号 US20020109939 申请日期 2002.03.29
申请人 ADL-TABATABAI ALI-REZA;LUEH GUEI-YUAN;SHPEISMAN TATIANA 发明人 ADL-TABATABAI ALI-REZA;LUEH GUEI-YUAN;SHPEISMAN TATIANA
分类号 G06F9/44;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址