Electrical computers and digital processing systems: processing – Processing architecture – Distributed processing system
Patent
1997-10-21
1999-12-28
Hafiz, Tariq R.
Electrical computers and digital processing systems: processing
Processing architecture
Distributed processing system
395708, 395704, 395705, 712226, 712234, 712241, G06F 944
Patent
active
060092734
ABSTRACT:
A compiler method analyzes a program listing to identify a first set of subroutines therein, each of which accepts a variable number of arguments, converting the first set of subroutines into further sets of subroutines which accept fixed numbers of arguments. The method includes the steps of: locating subroutines in the program listing which accept a variable number of arguments and identifying which thereof comprise a first set of subroutines that can be altered to a form which accepts a fixed number of arguments; for each subroutine identified as part of the first set, determining call sites which pass arguments to each subroutine and determining a number and kind of said arguments to be passed therefrom; partitioning call sites to each subroutine of the first set into one or more groups, each group comprising call sites which pass an identical number and kind of arguments to an associated subroutine of said first set; duplicating each subroutine of said first set into plural second sets of N corresponding subroutines, wherein N is equal to the number of groups associated with the subroutine of the first set, and revising each one of said N corresponding subroutines to receive a number of fixed arguments to be passed by call sites partitioned into an associated group; and substituting in the program listing the N corresponding subroutines and revising call sites in each group to refer to an associated one of said N corresponding subroutines.
REFERENCES:
patent: 5740443 (1998-04-01), Carini
patent: 5854933 (1998-12-01), Chang
Kaser et al., "On the Conversion of Indirect to Direct Recursion," ACM Letters on Programming Languages and Systems, vol. 2, No. 1-4, pp. 151-164, Mar. 1993.
Frank Vahid, "Procedure Cloning: A Transformation for Improved System-Level Functional Partitioning," Proceedings of European Design and Test Conference, ED&TC 97, pp. 487-492, Mar. 1997.
Cooper et al., "Procedure Cloning," Proceedings of the 1992 International Conference on Computer Languages, pp. 96-105, Apr. 1992.
Cooper et al., "Unexpected Side Effects of Inline Substitution: A Case Study," ACM Letters on Programming Languages and Systems, vol. 1, No. 1, pp. 22-32, Mar. 1992.
Ayers Andrew E.
Liu Jiyang
Dam Tuan Q.
Hafiz Tariq R.
Hewlett--Packard Company
LandOfFree
Method for conversion of a variable argument routine to a fixed does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method for conversion of a variable argument routine to a fixed , we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for conversion of a variable argument routine to a fixed will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-2388711