Changes in src/CodeGen/CodeGenerator.cpp [d96f7c4:550446f]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
rd96f7c4 r550446f 9 9 // Author : Andrew Beach 10 10 // Created On : Tue Oct 17 15:54:00 2023 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Jan 17 14:19:22 202513 // Update Count : 111 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Oct 25 18:28:00 2023 13 // Update Count : 0 14 14 // 15 15 … … 1092 1092 case ast::BranchStmt::FallThrough: 1093 1093 case ast::BranchStmt::FallThroughDefault: 1094 assertf( !options.genC, "fallthr oughshould not reach code generation." );1095 output << "fallthr ough";1094 assertf( !options.genC, "fallthru should not reach code generation." ); 1095 output << "fallthru"; 1096 1096 break; 1097 1097 default: 1098 1098 assertf( false, "Bad BranchStmt value." ); 1099 1099 } 1100 // Print branch target for labelled break/continue/fallthr oughin debug mode.1100 // Print branch target for labelled break/continue/fallthru in debug mode. 1101 1101 if ( !options.genC && stmt->kind != ast::BranchStmt::Goto ) { 1102 1102 if ( !stmt->target.empty() ) {
Note:
See TracChangeset
for help on using the changeset viewer.