Changeset 815c6ae
- Timestamp:
- Jul 20, 2021, 12:58:12 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3d7d407, 54651005
- Parents:
- 1f8dbfe (diff), ba8547e (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. - Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CompilationState.cc
r1f8dbfe r815c6ae 9 9 // Author : Rob Schluntz 10 10 // Created On : Mon Ju1 30 10:47:01 2018 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri May 3 13:45:23 201913 // Update Count : 411 // Last Modified By : Henry Xue 12 // Last Modified On : Tue Jul 20 04:27:35 2021 13 // Update Count : 5 14 14 // 15 15 … … 23 23 ctorinitp = false, 24 24 declstatsp = false, 25 exdeclp = false, 25 26 exprp = false, 26 27 expraltp = false, -
src/CompilationState.h
r1f8dbfe r815c6ae 9 9 // Author : Rob Schluntz 10 10 // Created On : Mon Ju1 30 10:47:01 2018 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri May 3 13:43:21 201913 // Update Count : 411 // Last Modified By : Henry Xue 12 // Last Modified On : Tue Jul 20 04:27:35 2021 13 // Update Count : 5 14 14 // 15 15 … … 22 22 ctorinitp, 23 23 declstatsp, 24 exdeclp, 24 25 exprp, 25 26 expraltp, -
src/ControlStruct/module.mk
r1f8dbfe r815c6ae 10 10 ## Author : Richard C. Bilson 11 11 ## Created On : Mon Jun 1 17:49:17 2015 12 ## Last Modified By : Andrew Beach13 ## Last Modified On : Wed Jun 28 16:15:00 201714 ## Update Count : 412 ## Last Modified By : Henry Xue 13 ## Last Modified On : Tue Jul 20 04:10:50 2021 14 ## Update Count : 5 15 15 ############################################################################### 16 16 17 17 SRC_CONTROLSTRUCT = \ 18 ControlStruct/ExceptDecl.cc \ 19 ControlStruct/ExceptDecl.h \ 18 20 ControlStruct/ForExprMutator.cc \ 19 21 ControlStruct/ForExprMutator.h \ -
src/Parser/TypeData.cc
r1f8dbfe r815c6ae 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 15:12:51 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed Jul 14 18:57:31202113 // Update Count : 67 211 // Last Modified By : Henry Xue 12 // Last Modified On : Tue Jul 20 04:10:50 2021 13 // Update Count : 673 14 14 // 15 15 … … 778 778 case AggregateDecl::Struct: 779 779 case AggregateDecl::Coroutine: 780 case AggregateDecl::Exception: 780 781 case AggregateDecl::Generator: 781 782 case AggregateDecl::Monitor: -
src/SynTree/Declaration.h
r1f8dbfe r815c6ae 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Mar 12 18:35:36202113 // Update Count : 1 5911 // Last Modified By : Henry Xue 12 // Last Modified On : Tue Jul 20 04:10:50 2021 13 // Update Count : 160 14 14 // 15 15 … … 300 300 301 301 bool is_coroutine() { return kind == Coroutine; } 302 bool is_exception() { return kind == Exception; } 302 303 bool is_generator() { return kind == Generator; } 303 304 bool is_monitor () { return kind == Monitor ; } -
src/main.cc
r1f8dbfe r815c6ae 9 9 // Author : Peter Buhr and Rob Schluntz 10 10 // Created On : Fri May 15 23:12:02 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Mar 6 15:49:00202113 // Update Count : 65 611 // Last Modified By : Henry Xue 12 // Last Modified On : Tue Jul 20 04:27:35 2021 13 // Update Count : 658 14 14 // 15 15 … … 49 49 #include "Common/utility.h" // for deleteAll, filter, printAll 50 50 #include "Concurrency/Waitfor.h" // for generateWaitfor 51 #include "ControlStruct/ExceptDecl.h" // for translateExcept 51 52 #include "ControlStruct/ExceptTranslate.h" // for translateEHM 52 53 #include "ControlStruct/Mutate.h" // for mutate … … 305 306 CodeTools::fillLocations( translationUnit ); 306 307 Stats::Time::StopBlock(); 308 309 PASS( "Translate Exception Declarations", ControlStruct::translateExcept( translationUnit ) ); 310 if ( exdeclp ) { 311 dump( translationUnit ); 312 return EXIT_SUCCESS; 313 } // if 307 314 308 315 // add the assignment statement after the initialization of a type parameter … … 549 556 // code dumps 550 557 { "ast", astp, true, "print AST after parsing" }, 558 { "exdecl", exdeclp, true, "print AST after translating exception decls" }, 551 559 { "symevt", symtabp, true, "print AST after symbol table events" }, 552 560 { "altexpr", expraltp, true, "print alternatives for expressions" }, -
tests/polymorphism.cfa
r1f8dbfe r815c6ae 71 71 printf(" offset of inner float: %ld\n", ((char *) & x_inner_float ) - ((char *) & x) ); 72 72 73 void showStatic( thing( int) & x ) {73 void showStatic( thing(long long int) & x ) { 74 74 printf("static:\n"); 75 75 SHOW_OFFSETS … … 85 85 86 86 printf("=== checkPlan9offsets\n"); 87 thing( int) x;87 thing(long long int) x; 88 88 showStatic(x); 89 89 showDynamic(x);
Note: See TracChangeset
for help on using the changeset viewer.