Changes between Version 71 and Version 72 of Orio


Ignore:
Timestamp:
06/14/08 13:38:58 (15 years ago)
Author:
hartono
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Orio

    v71 v72  
    247247    '''The abstract class of Orio's code transformation module'''  
    248248 
    249     def __init__(self, cmd_line_opts, perf_params, module_body_code, line_no, indent_size, annot_body_code):  
     249    def __init__(self, perf_params, module_body_code, annot_body_code, cmd_line_opts, line_no, indent_size):  
    250250        '''  
    251251        The class constructor used to instantiate a program transformation module.  
    252  
     252          
    253253        The following are the class attributes:  
    254            cmd_line_opts       information about the command line options  
    255                                (see src/main/cmd_line_opts.py for more details)  
    256            perf_params         a table that maps each performance parameter to its value  
    257            module_body_code    the code inside the module body block 
    258            line_no             the starting line position of the module code in the source code  
    259            indent_size         an integer representing the number of space characters used in the  
    260                                indentation of the leader annotation  
    261            annot_body_code     the code contained in the annotation body block  
     254          perf_params        a table that maps each performance parameter to its value  
     255          module_body_code   the code inside the module body block  
     256          annot_body_code    the code contained in the annotation body block  
     257          cmd_line_opts      information about the command line options  
     258                             (see src/main/cmd_line_opts.py for more details)  
     259          line_no            the starting line position of the module code in the source code  
     260          indent_size        an integer representing the number of whitespace characters that  
     261                             preceed the leader annotation  
    262262        '''  
    263         self.cmd_line_opts = cmd_line_opts  
     263  
    264264        self.perf_params = perf_params  
    265265        self.module_body_code = module_body_code  
     266        self.annot_body_code = annot_body_code  
     267        self.cmd_line_opts = cmd_line_opts  
    266268        self.line_no = line_no  
    267269        self.indent_size = indent_size  
    268         self.annot_body_code = annot_body_code  
    269270  
    270271    def transform(self):