Invention Grant
- Patent Title: Conditional stack frame allocation
-
Application No.: US15375571Application Date: 2016-12-12
-
Publication No.: US10229045B2Publication Date: 2019-03-12
- Inventor: Michael Karl Gschwind , Ronald I. McIntosh , Ulrich Weigand
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Robert J. Shatto
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F9/50 ; G06F12/02 ; G06F9/44 ; G06F9/445 ; G06F8/41

Abstract:
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.
Public/Granted literature
- US20170090812A1 CONDITIONAL STACK FRAME ALLOCATION Public/Granted day:2017-03-30
Information query