Changeset 8e90fd6 for src/CodeGen


Ignore:
Timestamp:
Jan 18, 2025, 3:46:06 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
d0b6712
Parents:
fa59c40 (diff), df56e25 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cpp

    rfa59c40 r8e90fd6  
    99// Author           : Andrew Beach
    1010// Created On       : Tue Oct 17 15:54:00 2023
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Wed Oct 25 18:28:00 2023
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Jan 17 14:19:22 2025
     13// Update Count     : 1
    1414//
    1515
     
    10921092        case ast::BranchStmt::FallThrough:
    10931093        case ast::BranchStmt::FallThroughDefault:
    1094                 assertf( !options.genC, "fallthru should not reach code generation." );
    1095                 output << "fallthru";
     1094                assertf( !options.genC, "fallthrough should not reach code generation." );
     1095                output << "fallthrough";
    10961096                break;
    10971097        default:
    10981098                assertf( false, "Bad BranchStmt value." );
    10991099        }
    1100         // Print branch target for labelled break/continue/fallthru in debug mode.
     1100        // Print branch target for labelled break/continue/fallthrough in debug mode.
    11011101        if ( !options.genC && stmt->kind != ast::BranchStmt::Goto ) {
    11021102                if ( !stmt->target.empty() ) {
Note: See TracChangeset for help on using the changeset viewer.