Conditional stack frame allocation
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for allocating memory, comprising: determining whether a prototype of a callee function is within a scope of a caller, the caller being a module containing a function call to the callee function; when the prototype of the callee function is not within the scope of the module, inserting instructions in the caller to allocate a register save area in a memory; when the prototype of the callee function is within the scope of the caller, determining whether the function call includes one or more unnamed parameters; inserting instructions in the caller to allocate the r
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)
- Butler W. Lampson; Fast Procedure Calls; 1982 ACM; pp. 66-76; .
- Butler W. Lampson; Fast Procedure Calls; 1982 ACM; pp. 66-76; <http://dl.acm.org/citation.cfm?id=801827&CFID=662754461&CFTOKEN=37633493>.
- Byung-Sun Yang; LaTTe A Java VM Just-in-Time Compiler with Fast and Efficient Register Allocation; 1999 IEEE; 11 pages; .
- Byung-Sun Yang; LaTTe A Java VM Just-in-Time Compiler with Fast and Efficient Register Allocation; 1999 IEEE; 11 pages; <http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=807503>.
- David Callahan; Register Allocation via Hierarchical Graph Coloring ; 1991 ACM; pp. 192-203; .