Table of Contents

Name

localize - make global variables local when possible

Synopsis

localize infile outfile { infile outfile }*

Description

The localize program turns global variables that are used in only a single procedure into static local variables for the procedure. Note that variables with external linkage might be used outside all the files this pass can see, so they cannot be turned into locals; only variables in the file symbol table are eligible for localization.

History

This program was written by Chris Wilson.


Table of Contents