Compilation method, compiler apparatus and compiler
Abstract
The compilation method, which allows a programmer to perform programming without minding about pass-by-reference, and offers efficiency in generating codes even in the case of using “pass by value”, includes the following: generating intermediate codes from a source program; optimizing the intermediate codes by converting a procedure that calls a procedure with pass-by-value argument into a procedure that calls a procedure with pass-by-reference argument, in the case where there is no procedure that may indirectly call the procedure with pass-by-value argument, and the pass-by-value is not updated within the definition according to the procedure with pass-by-value argument; and converting the optimized intermediate codes into object codes.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A compilation method for converting a source program written in a high-level language into object codes, comprising: generating intermediate codes from the source program; optimizing the intermediate codes by converting a pass-by-value argument into a pass-by-reference argument, in the case where both of the following conditions are satisfied: there is no procedure that may indirectly call a procedure with pass-by-value argument; and the pass-by-value argument is not updated within a definition according to the procedure with pass-by-value argument; and converting the optimized intermediate co
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (3)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 6,481,007 B1 | Optimizing parameter passing | 2002 | 24 |
| US 2005071846 A1 | Passing parameters by implicit reference | — | 7 |
| US 7,155,728 B1 | Remoting features | 2006 | 20 |