Ignore:
Timestamp:
May 22, 2020, 2:49:54 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f4530d7
Parents:
99fea48
Message:

More clean-up in ExceptTranslate?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptTranslate.cc

    r99fea48 r7119daa  
    107107                        nameOf( terminate_handler_except ),
    108108                        new ConstantExpr( Constant::null(
    109                                 //new PointerType(
    110                                 //      noQualifiers,
    111                                         terminate_handler_except->get_type()->clone()
    112                                 //      )
     109                                terminate_handler_except->get_type()->clone()
    113110                                ) )
    114111                        ) ) );
     
    232229
    233230                void premutate( StructDecl *structDecl );
    234                 Statement * postmutate( ThrowStmt *throwStmt );
    235231                Statement * postmutate( TryStmt *tryStmt );
    236232        };
     
    621617        }
    622618
    623         Statement * TryMutatorCore::postmutate( ThrowStmt * ) {
    624                 // All throws should be removed by this point.
    625                 assert( false );
    626         }
    627 
    628619        Statement * TryMutatorCore::postmutate( TryStmt *tryStmt ) {
    629620                assert( except_decl );
Note: See TracChangeset for help on using the changeset viewer.