Changeset 815c6ae


Ignore:
Timestamp:
Jul 20, 2021, 12:58:12 PM (3 years ago)
Author:
m3zulfiq <m3zulfiq@…>
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.
Message:

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

Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • src/CompilationState.cc

    r1f8dbfe r815c6ae  
    99// Author           : Rob Schluntz
    1010// Created On       : Mon Ju1 30 10:47:01 2018
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri May  3 13:45:23 2019
    13 // Update Count     : 4
     11// Last Modified By : Henry Xue
     12// Last Modified On : Tue Jul 20 04:27:35 2021
     13// Update Count     : 5
    1414//
    1515
     
    2323        ctorinitp = false,
    2424        declstatsp = false,
     25        exdeclp = false,
    2526        exprp = false,
    2627        expraltp = false,
  • src/CompilationState.h

    r1f8dbfe r815c6ae  
    99// Author           : Rob Schluntz
    1010// Created On       : Mon Ju1 30 10:47:01 2018
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri May  3 13:43:21 2019
    13 // Update Count     : 4
     11// Last Modified By : Henry Xue
     12// Last Modified On : Tue Jul 20 04:27:35 2021
     13// Update Count     : 5
    1414//
    1515
     
    2222        ctorinitp,
    2323        declstatsp,
     24        exdeclp,
    2425        exprp,
    2526        expraltp,
  • src/ControlStruct/module.mk

    r1f8dbfe r815c6ae  
    1010## Author           : Richard C. Bilson
    1111## Created On       : Mon Jun  1 17:49:17 2015
    12 ## Last Modified By : Andrew Beach
    13 ## Last Modified On : Wed Jun 28 16:15:00 2017
    14 ## Update Count     : 4
     12## Last Modified By : Henry Xue
     13## Last Modified On : Tue Jul 20 04:10:50 2021
     14## Update Count     : 5
    1515###############################################################################
    1616
    1717SRC_CONTROLSTRUCT = \
     18        ControlStruct/ExceptDecl.cc \
     19        ControlStruct/ExceptDecl.h \
    1820        ControlStruct/ForExprMutator.cc \
    1921        ControlStruct/ForExprMutator.h \
  • src/Parser/TypeData.cc

    r1f8dbfe r815c6ae  
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Sat May 16 15:12:51 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jul 14 18:57:31 2021
    13 // Update Count     : 672
     11// Last Modified By : Henry Xue
     12// Last Modified On : Tue Jul 20 04:10:50 2021
     13// Update Count     : 673
    1414//
    1515
     
    778778          case AggregateDecl::Struct:
    779779          case AggregateDecl::Coroutine:
     780          case AggregateDecl::Exception:
    780781          case AggregateDecl::Generator:
    781782          case AggregateDecl::Monitor:
  • src/SynTree/Declaration.h

    r1f8dbfe r815c6ae  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Mar 12 18:35:36 2021
    13 // Update Count     : 159
     11// Last Modified By : Henry Xue
     12// Last Modified On : Tue Jul 20 04:10:50 2021
     13// Update Count     : 160
    1414//
    1515
     
    300300
    301301        bool is_coroutine() { return kind == Coroutine; }
     302        bool is_exception() { return kind == Exception; }
    302303        bool is_generator() { return kind == Generator; }
    303304        bool is_monitor  () { return kind == Monitor  ; }
  • src/main.cc

    r1f8dbfe r815c6ae  
    99// Author           : Peter Buhr and Rob Schluntz
    1010// Created On       : Fri May 15 23:12:02 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Mar  6 15:49:00 2021
    13 // Update Count     : 656
     11// Last Modified By : Henry Xue
     12// Last Modified On : Tue Jul 20 04:27:35 2021
     13// Update Count     : 658
    1414//
    1515
     
    4949#include "Common/utility.h"                 // for deleteAll, filter, printAll
    5050#include "Concurrency/Waitfor.h"            // for generateWaitfor
     51#include "ControlStruct/ExceptDecl.h"       // for translateExcept
    5152#include "ControlStruct/ExceptTranslate.h"  // for translateEHM
    5253#include "ControlStruct/Mutate.h"           // for mutate
     
    305306                CodeTools::fillLocations( translationUnit );
    306307                Stats::Time::StopBlock();
     308
     309                PASS( "Translate Exception Declarations", ControlStruct::translateExcept( translationUnit ) );
     310                if ( exdeclp ) {
     311                        dump( translationUnit );
     312                        return EXIT_SUCCESS;
     313                } // if
    307314
    308315                // add the assignment statement after the initialization of a type parameter
     
    549556        // code dumps
    550557        { "ast", astp, true, "print AST after parsing" },
     558        { "exdecl", exdeclp, true, "print AST after translating exception decls" },
    551559        { "symevt", symtabp, true, "print AST after symbol table events" },
    552560        { "altexpr", expraltp, true, "print alternatives for expressions" },
  • tests/polymorphism.cfa

    r1f8dbfe r815c6ae  
    7171                printf("  offset of inner float:  %ld\n", ((char *) & x_inner_float ) - ((char *) & x) );
    7272
    73         void showStatic( thing(int) & x ) {
     73        void showStatic( thing(long long int) & x ) {
    7474                printf("static:\n");
    7575                SHOW_OFFSETS
     
    8585
    8686        printf("=== checkPlan9offsets\n");
    87         thing(int) x;
     87        thing(long long int) x;
    8888        showStatic(x);
    8989        showDynamic(x);
Note: See TracChangeset for help on using the changeset viewer.