首页> 外国专利> Typed intermediate language support for languages with multiple inheritance

Typed intermediate language support for languages with multiple inheritance

机译:类型化中间语言支持具有多重继承的语言

摘要

A typed intermediate representation of source code written in a language that supports multiple inheritance is presented. The typed intermediate representation uses paths to represent objects embedded in other objects. For each class, an exact record type represents layout of complete objects of that class. An approximated record type describes layout of inner objects when the runtime types of the objects are statically unknown. Address arithmetic is represented by special instructions and type-checked to ensure proper pointer adjustment. Types are also given to “this” pointers of methods within classes. These “this” pointer types refer to the paths associated with the object.
机译:呈现了用支持多种继承的语言编写的源代码的中间类型表示形式。类型化的中间表示使用路径表示嵌入在其他对象中的对象。对于每个类,确切的记录类型表示该类的完整对象的布局。当对象的运行时类型静态未知时,近似记录类型描述内部对象的布局。地址算术由特殊指令表示并进行类型检查以确保正确调整指针。类型也被赋予类中方法的“ this”指针。这些“ this”指针类型是指与对象关联的路径。

著录项

  • 公开/公告号US7627863B2

    专利类型

  • 公开/公告日2009-12-01

    原文格式PDF

  • 申请/专利权人 JUAN CHEN;

    申请/专利号US20060332819

  • 发明设计人 JUAN CHEN;

    申请日2006-01-13

  • 分类号G06F9/45;G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 18:47:48

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号