Template compilation method
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsShinobu Asao, Koji Nakajima, Hirohisa Tanaka
Life of this patent
Estimating the term…
Loading patent…
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsShinobu Asao, Koji Nakajima, Hirohisa Tanaka
Estimating the term…
In an identical function definition generation determining step of a template compilation method, dependency between a function definition code and a template parameter is analyzed, and when there is no dependency, a common function is defined and a plurality of function definitions obtained before defining the common function are deleted in a function definition sharing step. Thereafter, a function call obtained before defining the common function is replaced with a call of the common function in a function call replacing step. Accordingly, among a plurality of function definition codes generated from a template, function definition codes generated as the identical code are shared, so as to reduce the code size that generally increases due to template facilities.
A template compilation method for converting an input program described with a high-level language with template facilities into object codes, comprising:
Dependencies are inferred from the claim text.