首页> 外国专利> METHOD AND APPARATUS TO CALL NATIVE CODE FROM A MANAGED CODE APPLICATION

METHOD AND APPARATUS TO CALL NATIVE CODE FROM A MANAGED CODE APPLICATION

机译:从经管理的代码应用中调用本地代码的方法和装置

摘要

Methods and apparatus to call native code (120) from a managed code application (106) and to optimize such calls are disclosed. An example method includes converting a first bytecode (106) to a first intermediate representation (114), receiving a second intermediate representation (102) including a call to a native function (120) and at least one annotation describing the native function (120), and replacing a portion of the first intermediate representation (114) with a portion of the second intermediate representation (102) to create a third intermediate representation (118).
机译:公开了从托管代码应用程序(106)调用本机代码(120)并优化此类调用的方法和装置。示例方法包括将第一字节码(106)转换为第一中间表示(114),接收第二中间表示(102),该第二中间表示包括对本地函数(120)的调用和描述本地函数的至少一个注释(120)。 ,并将第一中间表示(114)的一部分替换为第二中间表示(102)的一部分,以创建第三中间表示(118)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号