Changes between Version 66 and Version 67 of Orio


Ignore:
Timestamp:
06/14/08 03:18:27 (15 years ago)
Author:
hartono
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Orio

    v66 v67  
    247247    '''The abstract class of Orio's code transformation module'''  
    248248 
    249     def __init__(self, cmd_line_opts, perf_params, module_code, line_no, indent_size, annot_body_code):  
     249    def __init__(self, cmd_line_opts, perf_params, module_body_code, line_no, indent_size, annot_body_code):  
    250250        '''  
    251251        The class constructor used to instantiate a program transformation module.  
    252252 
    253253        The following are the class attributes:  
    254            cmd_line_opts      an object representing the command line options  
     254           cmd_line_opts      information about the command line options  
    255255                              (see src/main/cmd_line_opts.py for more details)  
    256256           perf_params        a table that maps each performance parameter to its value  
    257            module_code        the code of annotation module body  
     257           module_body_code   the code inside the module body block 
    258258           line_no            the starting line position of the module code in the source code  
    259259           indent_size        an integer representing the number of space characters used in the  
    260260                              indentation of the leader annotation  
    261            annot_body_code    the text located in the annotation body block  
     261           annot_body_code    the code contained in the annotation body block  
    262262        '''  
    263263        self.cmd_line_opts = cmd_line_opts  
    264264        self.perf_params = perf_params  
    265         self.module_code = module_code  
     265        self.module_body_code = module_body_code  
    266266        self.line_no = line_no  
    267267        self.indent_size = indent_size  
     
    277277}}} 
    278278 
     279Among all the class attributes, three of them are very important for performing code optimization and generation: ''performance parameters'', ''module body code'', and ''annotation body code''. 
     280 
    279281''Currently under construction'' 
    280282