- 专利标题: Conditional stack frame allocation
-
申请号: US15375571申请日: 2016-12-12
-
公开(公告)号: US10229045B2公开(公告)日: 2019-03-12
- 发明人: Michael Karl Gschwind , Ronald I. McIntosh , Ulrich Weigand
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Robert J. Shatto
- 主分类号: G06F3/06
- IPC分类号: G06F3/06 ; G06F9/50 ; G06F12/02 ; G06F9/44 ; G06F9/445 ; G06F8/41
摘要:
A method for allocating memory includes an operation that determines whether a prototype of a callee function is within a scope of a caller. The caller is a module containing a function call to the callee function. In addition, the method includes determining whether the function call includes one or more unnamed parameters when a prototype of the callee function is within the scope of the caller. Further, the method may include inserting instructions in the caller to allocate a register save area in a memory when it is determined that the function call includes one or more unnamed parameters.
公开/授权文献
- US20170090812A1 CONDITIONAL STACK FRAME ALLOCATION 公开/授权日:2017-03-30
信息查询