Changeset b6923b17 for src/main.cpp


Ignore:
Timestamp:
Jul 24, 2024, 12:22:52 PM (4 hours ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Parents:
35c792f
Message:

Fixed goto labelled loop. I had to reorder some passes. Updated control declaration hoisting (including comments and correcting update count). Added test, moved more tests into ctrl-flow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    r35c792f rb6923b17  
    331331                PASS( "Fix Unique Ids", Validate::fixUniqueIds, transUnit );
    332332                PASS( "Implement Corun", Concurrency::implementCorun, transUnit );
     333                PASS( "Fix Label Address", Validate::fixLabelAddresses, transUnit );
     334                PASS( "Fix Labels", ControlStruct::fixLabels, transUnit );
    333335                PASS( "Hoist Control Declarations", ControlStruct::hoistControlDecls, transUnit );
    334336
     
    342344                PASS( "Set Length From Initializer", Validate::setLengthFromInitializer, transUnit );
    343345                PASS( "Find Global Decls", Validate::findGlobalDecls, transUnit );
    344                 PASS( "Fix Label Address", Validate::fixLabelAddresses, transUnit );
    345346
    346347                if ( symtabp ) {
     
    356357
    357358                PASS( "Translate Throws", ControlStruct::translateThrows, transUnit );
    358                 PASS( "Fix Labels", ControlStruct::fixLabels, transUnit );
    359359                PASS( "Implement Waituntil", Concurrency::generateWaitUntil, transUnit  );
    360360                PASS( "Fix Names", CodeGen::fixNames, transUnit );
Note: See TracChangeset for help on using the changeset viewer.