Invention Grant
- Patent Title: Compiling source code
- Patent Title (中): 编译源代码
-
Application No.: US11402556Application Date: 2006-04-11
-
Publication No.: US08161464B2Publication Date: 2012-04-17
- Inventor: Roch Georges Archambault , Shimin Cui , Yaoqing Gao , Raul Esteban Silvera
- Applicant: Roch Georges Archambault , Shimin Cui , Yaoqing Gao , Raul Esteban Silvera
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yee & Associates, P.C.
- Agent Ayla A. Lari
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method of compiling source code. The method includes converting pointer-based access in the source code to array-based access in the source code in a first pass compilation of the source code. Information is collected for objects in the source code during the first pass compilation. Candidate objects in the source code are selected based on the collected information to form selected candidate objects. Global stride variables are created for the selected candidate objects. Memory allocation operations are updated for the selected candidate objects in a second pass compilation of the source code. Multiple-level pointer indirect references are replaced in the source code with multi-dimensional array indexed references for the selected candidate objects in the second pass compilation of the source code.
Public/Granted literature
- US20070240137A1 Method of compiling source code Public/Granted day:2007-10-11
Information query