stage3/forced_narrow_candidate_datatypes.cc
changeset 679 2f5618c0039a
parent 677 740da3255d9d
child 681 e837adad2437
equal deleted inserted replaced
678:01e33dc2a255 679:2f5618c0039a
   130 /***********************************/
   130 /***********************************/
   131 
   131 
   132 /*| instruction_list il_instruction */
   132 /*| instruction_list il_instruction */
   133 // SYM_LIST(instruction_list_c)
   133 // SYM_LIST(instruction_list_c)
   134 void *forced_narrow_candidate_datatypes_c::visit(instruction_list_c *symbol) {
   134 void *forced_narrow_candidate_datatypes_c::visit(instruction_list_c *symbol) {
   135 print_ast_c::print(symbol);
       
   136 
       
   137   for(int j = 0; j < 2; j++) {
   135   for(int j = 0; j < 2; j++) {
   138     for(int i = symbol->n-1; i >= 0; i--) {
   136     for(int i = symbol->n-1; i >= 0; i--) {
   139       symbol->elements[i]->accept(*this);
   137       symbol->elements[i]->accept(*this);
   140     }
   138     }
   141   }
   139   }