首页> 外国专利> Mechanism for increasing the performance of multiple language programs by inserting called language IR into the calling language

Mechanism for increasing the performance of multiple language programs by inserting called language IR into the calling language

机译:通过将被调用语言IR插入到调用语言中来提高多种语言程序性能的机制

摘要

A method and system of cross-language inlining that includes receiving source code of a multiple language program, the source code including a main language and a first access of a first foreign object in a first additional language; translating the main language to obtain a main language intermediate representation (IR); translating the first additional language to obtain a first IR snippet; composing, before performing a compilation, the main language IR and the first IR snippet to obtain a cross-language IR; and performing the compilation of the cross-language IR to obtain machine code corresponding to the multiple language program.
机译:一种跨语言内联的方法和系统,包括:接收多语言程序的源代码,所述源代码包括主要语言和以第一附加语言对第一异物的第一访问;以及翻译主要语言以获得主要语言中间表示(IR);翻译第一附加语言以获得第一IR片段;在进行编译之前,将主要语言IR和第一IR片段组成,以获得跨语言IR;进行所述跨语言IR的编译,以获取所述多语言程序对应的机器代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号