Changeset 5ee153d for src/ControlStruct


Ignore:
Timestamp:
Nov 8, 2021, 4:53:02 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
cc287800
Parents:
a5a08a05
Message:

Translated the Translate Throws pass to the new ast.

Location:
src/ControlStruct
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/ControlStruct/ExceptTranslate.cc

    ra5a08a05 r5ee153d  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ExceptVisitor.cc --
     7// ExceptTranslate.cc -- Conversion of exception control flow structures.
    88//
    99// Author           : Andrew Beach
  • TabularUnified src/ControlStruct/ExceptTranslate.h

    ra5a08a05 r5ee153d  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ExceptTranslate.h --
     7// ExceptTranslate.h -- Conversion of exception control flow structures.
    88//
    99// Author           : Andrew Beach
    1010// Created On       : Tus Jun 06 10:13:00 2017
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Tus May 19 11:47:00 2020
    13 // Update Count     : 5
     12// Last Modified On : Mon Nov  8 11:43:00 2020
     13// Update Count     : 6
    1414//
    1515
     
    1919
    2020class Declaration;
     21namespace ast {
     22        class TranslationUnit;
     23}
    2124
    2225namespace ControlStruct {
    2326        void translateThrows( std::list< Declaration *> & translationUnit );
     27        void translateThrows( ast::TranslationUnit & transUnit );
    2428        /* Replaces all throw & throwResume statements with function calls.
    2529         * These still need to be resolved, so call this before the reslover.
  • TabularUnified src/ControlStruct/module.mk

    ra5a08a05 r5ee153d  
    3333        ControlStruct/Mutate.h
    3434
    35 SRC += $(SRC_CONTROLSTRUCT) ControlStruct/ExceptTranslate.cc ControlStruct/ExceptTranslate.h
     35SRC += $(SRC_CONTROLSTRUCT) \
     36        ControlStruct/ExceptTranslateNew.cpp \
     37        ControlStruct/ExceptTranslate.cc \
     38        ControlStruct/ExceptTranslate.h
     39
    3640SRCDEMANGLE += $(SRC_CONTROLSTRUCT)
    3741
Note: See TracChangeset for help on using the changeset viewer.