发明名称 METHOD AND DEVICE FOR STACK SLOT ALLOCATION
摘要 PROBLEM TO BE SOLVED: To provide a method and a device which allocate and use a stack space. SOLUTION: The method implemented by a computer which allocates a stack space in an object-based system includes a process for obtaining source codes which include definitions relating to variables and are suitable for compilation. While registers are allocated, stack slots and machine registers are handled almost equally. This includes a process for structuring an interference graph, a process for putting copies together, a process for coloring the interference graph, and a process for determining whether or not the trial of the coloring of the interference graph is successful. When the coloring trial is not successful, an inter-register copy such as a 'reg-reg' copy is inserted between source codes instead of an ordinary spill code. The 'reg-reg' copy includes a copy relating to both the stack slots and machine registers.
申请公布号 JP2000347876(A) 申请公布日期 2000.12.15
申请号 JP20000123160 申请日期 2000.04.24
申请人 SUN MICROSYST INC 发明人 CLICK JR CLIFFORD N;VICK CHRISTOPHER A;PALECZNY MICHAEL H
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址