Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/LabelFixer.cc

    rde62360d r954463b8  
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jun 23 12:42:23 2015
    13 // Update Count     : 96
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Tue Jun 02 15:30:32 2015
     13// Update Count     : 93
    1414//
    1515
     
    137137                                Label undef = from.back()->get_target();
    138138                                throw SemanticError ( "'" + undef + "' label not defined");
    139                         } // if
     139                        }
    140140
    141                         // generate a new label, and attach it to its defining statement as the only label on that statement
    142                         Label finalLabel = generator->newLabel( to->get_labels().back() );
     141                        // generate a new label, and attach it to its defining statement
     142                        // as the only label on that statement
     143                        Label finalLabel = generator->newLabel();
    143144                        entry->set_label( finalLabel );
    144145
Note: See TracChangeset for help on using the changeset viewer.