Changes in / [514247d:546b51e]


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/Makefile.am

    r514247d r546b51e  
    5555# create forward declarations for cfa builtins
    5656builtins.cf : builtins.c ${CC}
    57         ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
     57        ${AM_V_GEN}cfa ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
    5858        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
    5959
  • libcfa/prelude/Makefile.in

    r514247d r546b51e  
    510510# create forward declarations for cfa builtins
    511511builtins.cf : builtins.c ${CC}
    512         ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
     512        ${AM_V_GEN}cfa ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
    513513        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
    514514
  • src/GenPoly/Lvalue.cc

    r514247d r546b51e  
    353353                        Type * destType = castExpr->result;
    354354                        Type * srcType = castExpr->arg->result;
     355                        assertf( destType, "Cast to no type in: %s", toCString( castExpr ) );
     356                        assertf( srcType, "Cast from no type in: %s", toCString( castExpr ) );
    355357                        int depth1 = destType->referenceDepth();
    356358                        int depth2 = srcType->referenceDepth();
  • src/Parser/parser.yy

    r514247d r546b51e  
    13101310
    13111311handler_clause:
    1312         handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop
     1312        handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement
    13131313                { $$ = new StatementNode( build_catch( $1, $4, $6, $8 ) ); }
    1314         | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop
     1314        | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement
    13151315                { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( $2, $5, $7, $9 ) ) ); }
    13161316        ;
  • src/Virtual/ExpandCasts.cc

    r514247d r546b51e  
    147147                                //              )
    148148                                //      ),
    149                         new UntypedExpr( new NameExpr( "__cfa__virtual_cast" ), {
     149                        new ApplicationExpr( VariableExpr::functionPointer( vcast_decl ), {
    150150                                        new CastExpr(
    151151                                                new AddressExpr( new VariableExpr( table ) ),
    152152                                                pointer_to_pvt(1)
    153                                                 ),
     153                                        ),
    154154                                        new CastExpr(
    155155                                                castExpr->get_arg(),
    156156                                                pointer_to_pvt(2)
    157                                                 )
    158                                 } ),
     157                                        )
     158                        } ),
    159159                        castExpr->get_result()->clone()
    160                         );
     160                );
    161161
    162162                castExpr->set_arg( nullptr );
Note: See TracChangeset for help on using the changeset viewer.