Changeset 5c56a22
- Timestamp:
- Mar 20, 2026, 8:22:37 AM (27 hours ago)
- Branches:
- master
- Children:
- 2c2e865
- Parents:
- 742fa15
- Location:
- src
- Files:
-
- 3 edited
-
CompilationState.cpp (modified) (3 diffs)
-
CompilationState.hpp (modified) (3 diffs)
-
main.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CompilationState.cpp
r742fa15 r5c56a22 10 10 // Created On : Mon Ju1 30 10:47:01 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Apr 10 19:12:50 202313 // Update Count : 612 // Last Modified On : Sat Mar 7 15:43:02 2026 13 // Update Count : 11 14 14 // 15 15 … … 18 18 int 19 19 astp = false, 20 bresolve p = false,20 bresolverp = false, 21 21 bboxp = false, 22 22 bcodegenp = false, 23 ctor initp = false,23 ctordtorp = false, 24 24 declstatsp = false, 25 exdeclp = false, 26 exprp = false, 25 excpdeclp = false, 27 26 expraltp = false, 28 genericsp = false, 27 expranlp = false, 28 instgenp = false, 29 29 invariant = false, 30 30 libcfap = false, … … 39 39 treep = false, 40 40 tuplep = false, 41 valid p = false,41 valideclp = false, 42 42 errorp = false, 43 43 codegenp = false, -
src/CompilationState.hpp
r742fa15 r5c56a22 10 10 // Created On : Mon Ju1 30 10:47:01 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Apr 10 19:12:53 202313 // Update Count : 612 // Last Modified On : Sat Mar 7 15:39:59 2026 13 // Update Count : 14 14 14 // 15 15 … … 17 17 extern int 18 18 astp, 19 bresolve p,19 bresolverp, 20 20 bboxp, 21 21 bcodegenp, 22 ctor initp,22 ctordtorp, 23 23 declstatsp, 24 exdeclp, 25 exprp, 24 excpdeclp, 26 25 expraltp, 27 genericsp, 26 expranlp, 27 instgenp, 28 28 invariant, 29 29 libcfap, … … 38 38 treep, 39 39 tuplep, 40 valid p,40 valideclp, 41 41 errorp, 42 42 codegenp, -
src/main.cpp
r742fa15 r5c56a22 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jun 23 16:38:09 202413 // Update Count : 69112 // Last Modified On : Fri Mar 20 08:10:38 2026 13 // Update Count : 710 14 14 // 15 15 … … 202 202 203 203 PASS( "Translate Exception Declarations", ControlStruct::translateExcept, transUnit ); 204 DUMP( ex declp, transUnit );204 DUMP( excpdeclp, transUnit ); 205 205 PASS( "Verify Ctor, Dtor & Assign", Validate::verifyCtorDtorAssign, transUnit ); 206 206 PASS( "Replace Typedefs", Validate::replaceTypedef, transUnit ); … … 242 242 } // if 243 243 244 if ( expra ltp ) {244 if ( expranlp ) { 245 245 ResolvExpr::printCandidates( transUnit ); 246 246 return EXIT_SUCCESS; 247 247 } // if 248 248 249 DUMP( valid p, transUnit );249 DUMP( valideclp, transUnit ); 250 250 251 251 PASS( "Translate Throws", ControlStruct::translateThrows, transUnit ); … … 265 265 } // if 266 266 267 DUMP( bresolve p, transUnit );267 DUMP( bresolverp, transUnit ); 268 268 269 269 if ( resolvprotop ) { … … 273 273 274 274 PASS( "Resolve", ResolvExpr::resolve, transUnit ); 275 DUMP( expr p, transUnit );276 PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() ); // Here275 DUMP( expranlp, transUnit ); 276 PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() ); 277 277 PASS( "Erase With", ResolvExpr::eraseWith, transUnit ); 278 278 279 279 // fix ObjectDecl - replaces ConstructorInit nodes 280 DUMP( ctor initp, transUnit );280 DUMP( ctordtorp, transUnit ); 281 281 282 282 // Currently not working due to unresolved issues with UniqueExpr … … 297 297 298 298 PASS( "Instantiate Generics", GenPoly::instantiateGeneric, transUnit ); 299 DUMP( genericsp, transUnit );299 DUMP( instgenp, transUnit ); 300 300 301 301 PASS( "Convert L-Value", GenPoly::convertLvalue, transUnit ); … … 422 422 // AST dumps 423 423 { "ast", astp, true, "print AST after parsing" }, 424 { "excpdecl", exdeclp, true, "print AST after translating exception decls" }, 425 { "symevt", symtabp, true, "print AST after symbol table events" }, 426 { "expralt", expraltp, true, "print AST after expressions alternatives" }, 427 { "valdecl", validp, true, "print AST after declaration validation pass" }, 428 { "bresolver", bresolvep, true, "print AST before resolver step" }, 429 { "expranly", exprp, true, "print AST after expression analysis" }, 430 { "ctordtor", ctorinitp, true, "print AST after ctor/dtor are replaced" }, 424 { "excpdecl", excpdeclp, true, "print AST after translating exception decls" }, 425 // These flags are currently disconnected from whatever they did in the past. 426 // { "symevt", symtabp, true, "print AST after symbol table events" }, 427 // { "expralt", expraltp, true, "print AST after expressions alternatives" }, 428 { "validecl", valideclp, true, "print AST after declaration validation pass" }, 429 { "bresolver", bresolverp, true, "print AST before resolver step" }, 430 { "expranl", expranlp, true, "print AST after expression analysis" }, 431 { "ctordtor", ctordtorp, true, "print AST after ctor/dtor are replaced" }, 431 432 { "tuple", tuplep, true, "print AST after tuple expansion" }, 432 { "instgen", genericsp, true, "print AST after instantiate generics" },433 { "instgen", instgenp, true, "print AST after instantiate generics" }, 433 434 { "bbox", bboxp, true, "print AST before box pass" }, 434 { "bcodegen", bcodegenp, true, "print AST before code generation" } 435 { "bcodegen", bcodegenp, true, "print AST before code generation" }, 435 436 }; 436 437 enum { printoptsSize = sizeof( printopts ) / sizeof( printopts[0] ) };
Note:
See TracChangeset
for help on using the changeset viewer.