首页> 外国专利> METHOD OF PROCEDURE CONTROL DESCRIPTOR-BASED CODE SPECIALIZATION FOR CONTEXT SENSITIVE MEMORY DISAMBIGUATION

METHOD OF PROCEDURE CONTROL DESCRIPTOR-BASED CODE SPECIALIZATION FOR CONTEXT SENSITIVE MEMORY DISAMBIGUATION

机译:基于过程控制描述符的上下文敏感存储器消歧的代码专用化方法

摘要

A computer implemented method, apparatus, and computer program product for compiling source code. The source code is scanned to identify a candidate region. A procedure control descriptor is corresponding to the candidate region is generated. The procedure control descriptor identifies, for the candidate region, a condition which, if true at runtime means that the candidate region can be specialized. Responsive to a determination during compile time that satisfaction of at least one condition will be known only at runtime, the procedure control descriptor is used to specialize the candidate region at compile time to create a first version of the candidate region for execution in a case where the condition is true and a second version of the candidate region for execution in a case where the condition is false. Also responsive to the determination, code is further generated to correctly select one of the first region and the second region at runtime.
机译:一种用于编译源代码的计算机实现的方法,装置和计算机程序产品。扫描源代码以识别候选区域。生成与候选区域相对应的过程控制描述符。过程控制描述符为候选区域标识条件,如果条件在运行时为true,则意味着该候选区域可以被特殊化。响应于在编译时确定至少在运行时满足至少一个条件的确定,过程控制描述符用于在编译时专用于候选区域,以创建候选版本的第一版本以在以下情况下执行该条件为真,并且在条件为假的情况下执行该候选区域的第二版本。同样响应于该确定,在运行时进一步生成代码以正确地选择第一区域和第二区域之一。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号