发明申请
- 专利标题: Compiling and translating method and apparatus
- 专利标题(中): 编译方法和装置
-
申请号: US10576907申请日: 2005-08-05
-
公开(公告)号: US20090106744A1公开(公告)日: 2009-04-23
- 发明人: Jianhui Li , Yun Wang , Bo Huang , Yongnian Le , Jiangning Liu , Jinyun Ye
- 申请人: Jianhui Li , Yun Wang , Bo Huang , Yongnian Le , Jiangning Liu , Jinyun Ye
- 国际申请: PCT/CN05/01204 WO 20050805
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
Methods and apparatus are described to compile and translate source code. In some embodiments, source code is compiled into source binary code for a source platform; an annotation section associated with the source binary code is generated, wherein the annotation section comprises an annotation for a scope, the scope comprising at least one block of the source binary code having at least one attribute to aid a translator optimization. If the scope comprises a plurality of blocks, the blocks have consecutive addresses with each other and have the at least one attribute in common. In the embodiments, the source binary code is further translated into target binary code for a target platform by utilizing the annotation section.
信息查询