Compiler having global element optimization
    90.
    发明授权
    Compiler having global element optimization 失效
    编译器具有全局元素优化

    公开(公告)号:US07337173B1

    公开(公告)日:2008-02-26

    申请号:US08984904

    申请日:1997-12-04

    申请人: David J. Williams

    发明人: David J. Williams

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443

    摘要: An optimization technique is provided which automatically reduces the number of globals in a program to the minimum required. The optimization technique identifies those elements which are placed in a program as global elements, but which do not need to be global elements. The optimization technique parses all files in a program, identifies all global elements, and removes any global elements that are not used outside of a particular file within the program by converting these global elements to local elements or by disregarding those elements.

    摘要翻译: 提供了一种优化技术,可以将程序中的全局数量自动减少到所需的最小值。 优化技术将放在程序中的元素标识为全局元素,但不需要是全局元素。 优化技术解析程序中的所有文件,识别所有全局元素,并通过将这些全局元素转换为本地元素或忽略这些元素,去除程序中特定文件外部未使用的任何全局元素。