Assigning home memory addresses to function call parameters
Abstract
Embodiments are directed to assigning a home memory location for a function call parameter. A method may include determining whether a caller is configured to allocate a memory location for a parameter passed to a callee. The caller is a module that includes a function call to the callee and the callee is a function. The method may include inserting instructions in the callee to allocate a home memory location for the parameter in response to determining that the caller is not configured to allocate a memory location for the parameter. In addition, the method may include inserting instructions in the callee to set the memory location as a home location for the parameter in response to determining that the caller is configured to allocate a memory location for the parameter.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, the method comprising: determining whether a caller is configured to allocate a memory location for a parameter passed to a callee, the caller being a module that includes a function call to the callee and the callee being a function; in response to determining that the caller is not configured to allocate the memory location for the parameter, inserting instructions in the callee to allocate a home memory location for the parameter, wherein the home memory location is a parameter save area within a stack frame that is designated for function call parameters; and
- Claim 2Independent Claim
The method of claim
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Callahan et al., "Register Allocation via Hierarchical Graph Coloring," 1991 ACM; pp. 192-203; http://dl.acm.org/citation.cfm?id-113462.
- Callahan et al., “Register Allocation via Hierarchical Graph Coloring,” 1991 ACM; pp. 192-203; http://dl.acm.org/citation.cfm?id—113462.
- Cooper et al., "Register Promotion in C Programs," 1997 ACM; pp. 308-319, http://dl.acm.org/citation.cfm? id=258943.
- Gay et al., "Stack allocating objects in Java." Microsoft, http://www.research.microsoft.com/apl/stackalloc-abstract. Published 1999. Retrieved Apr. 27, 2017.
- Gschwind et al., "Assigning Home Memory Addresses to Function Call Parameters", U.S. Appl. No. 14/536,902, filed Nov. 10, 2014.