首页> 外国专利> Procedure control descriptor-based code specialization for context sensitive memory disambiguation

Procedure control descriptor-based code specialization for context sensitive memory disambiguation

机译:基于过程控制描述符的代码专用化,可消除上下文相关的内存歧义

摘要

A computer implemented method for facilitating debugging of source code. The source code is scanned to identify a candidate region. A procedure control descriptor is generated, wherein the procedure control descriptor corresponds to the candidate region. 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, and further generate code to correctly select one of the first region and the second region at runtime.
机译:一种计算机实现的用于调试源代码的方法。扫描源代码以识别候选区域。生成过程控制描述符,其中,过程控制描述符对应于候选区域。过程控制描述符为候选区域标识条件,如果条件在运行时为true,则意味着该候选区域可以被特殊化。响应于在编译时确定至少在运行时满足至少一个条件的确定,过程控制描述符用于在编译时专用于候选区域,以创建候选版本的第一版本以在以下情况下执行该条件为真,并且在条件为假的情况下执行该候选区域的第二版本,并进一步生成代码以在运行时正确地选择第一区域和第二区域之一。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号