Program optimization by converting code portions to directly reference internal data representations
AssigneeInternational Business Machines Corporation
InventorsHiroshi Inoue, Kazuaki Ishizaki, Jan M. Wroblewski, Moriyoshi Ohara
Life of this patent
Estimating the term…
Abstract
A method includes identifying a code portion that accesses a primitive value in a user-defined function included in a user program, converting the code portion and an argument in a manner to directly reference an internal data representation of the user program, and generating a code for calling the user-defined function converted by the conversion.
Claims20
A method comprising:
- identifying a code portion that accesses a primitive value in a user-defined function included in a user program, the user-defined function including an object as an argument;
- converting the code portion and the argument to directly reference an internal data representation;
- and
- generating a code for calling the user-defined function converted by the conversion, the code including a pointer indicating an address of a memory region directly accessing the primitive value where the object manages the internal data representation.
A non-transitory computer readable storage medium collectively storing program instructions that are executable by a computer to cause the computer to perform operations comprising:
- identifying a code portion that accesses a primitive value in a user-defined function included in a user program, the user-defined function including an object as an argument;
- converting the code portion and the argument to directly reference an internal data representation;
- and
- generating a code for calling the user-defined function converted by the conversion, the code including a pointer indicating an address of a memory region directly accessing the primitive value where the object manages the internal data representation.
Dependencies are inferred from the claim text.