Changeset b8ab91a for src/main.cc


Ignore:
Timestamp:
Nov 5, 2021, 1:46:46 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
21fe17f
Parents:
77c01ec
Message:

Fix Labels pass translated. This is fix label, mult-level exit and label generator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r77c01ec rb8ab91a  
    5353#include "ControlStruct/ExceptDecl.h"       // for translateExcept
    5454#include "ControlStruct/ExceptTranslate.h"  // for translateEHM
     55#include "ControlStruct/FixLabels.hpp"      // for fixLabels
    5556#include "ControlStruct/Mutate.h"           // for mutate
    5657#include "GenPoly/Box.h"                    // for box
     
    334335
    335336                PASS( "Translate Throws", ControlStruct::translateThrows( translationUnit ) );
    336                 PASS( "Fix Labels", ControlStruct::fixLabels( translationUnit ) );
    337337
    338338                CodeTools::fillLocations( translationUnit );
     
    347347                        forceFillCodeLocations( transUnit );
    348348
     349                        PASS( "Fix Labels", ControlStruct::fixLabels( transUnit ) );
    349350                        PASS( "Fix Names", CodeGen::fixNames( transUnit ) );
    350351                        PASS( "Gen Init", InitTweak::genInit( transUnit ) );
     
    383384                        translationUnit = convert( move( transUnit ) );
    384385                } else {
     386                        PASS( "Fix Labels", ControlStruct::fixLabels( translationUnit ) );
    385387                        PASS( "Fix Names", CodeGen::fixNames( translationUnit ) );
    386388                        PASS( "Gen Init", InitTweak::genInit( translationUnit ) );
Note: See TracChangeset for help on using the changeset viewer.