首页>
外国专利>
Automatic program code generation in a compiler system for an instantiation of a generic program structure and based on formal parameters and characteristics of actual parameters
Automatic program code generation in a compiler system for an instantiation of a generic program structure and based on formal parameters and characteristics of actual parameters
展开▼
机译:在编译器系统中自动程序代码生成,用于实例化通用程序结构,并基于形式参数和实际参数的特征
展开▼
页面导航
摘要
著录项
相似文献
摘要
A compiler maintains a library of sharable program structures generated in response to instantiations of a generic program structure, along with characteristics of parameters which were used in generating the sharable program structure. In response to an instantiation of a generic program structure, the compiler generates information relating to the characteristics and usage of each parameter which are used in connection with the instantiation. The compiler then compares that information to the corresponding information associated with the sharable program structures in the library. If the library contains a sharable program structure whose parameter information compares satisfactorily, that sharable program structure is used in connection with further operations in connection with the instantiation. On the other hand, if the library does not contain such a sharable program structure, one is generated and stored in the library, along with the characteristics of the parameters used in its generation, for use in sharing with later instantiations. In addition, the just-generated sharable program structure is used in further operations in connection with the instantiation.
展开▼