Changeset 7cde04e


Ignore:
Timestamp:
Feb 20, 2021, 10:41:37 PM (7 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
47e18f3, ee0fa3a
Parents:
6cb7a92 (diff), e499381 (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:
3 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r6cb7a92 r7cde04e  
    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 : Mon Feb  8 21:10:16 2021
    13 // Update Count     : 642
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Fri Feb 19 14:59:00 2021
     13// Update Count     : 643
    1414//
    1515
     
    104104static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit = false );
    105105static void dump( list< Declaration * > & translationUnit, ostream & out = cout );
     106static void dump( ast::TranslationUnit && transUnit, ostream & out = cout );
    106107
    107108static void backtrace( int start ) {                                    // skip first N stack frames
     
    349350                        PASS( "Resolve", ResolvExpr::resolve( transUnit ) );
    350351                        if ( exprp ) {
    351                                 translationUnit = convert( move( transUnit ) );
    352                                 dump( translationUnit );
     352                                dump( move( transUnit ) );
    353353                                return EXIT_SUCCESS;
    354354                        } // if
     
    732732} // dump
    733733
     734static void dump( ast::TranslationUnit && transUnit, ostream & out ) {
     735        std::list< Declaration * > translationUnit = convert( move( transUnit ) );
     736        dump( translationUnit, out );
     737}
     738
    734739// Local Variables: //
    735740// tab-width: 4 //
  • tests/.expect/mathX.nast.arm64.txt

    r6cb7a92 r7cde04e  
    11721172ceiling(9223372036854775808, 9223372036854775808) = 9223372036854775808, ceiling(9223372036854775810, 9223372036854775808) = 0, ceiling(9223372036854775806, 9223372036854775808) = 9223372036854775808
    11731173
    1174 floor:1. 1. 1.
    1175 ceil:2. 2. 2.
    1176 trunc:3. 3. 3.
    1177 rint:2. 2. 2.
    1178 rint:2 2 2
    1179 rint:2 2 2
    1180 lrint:2 2 2
    1181 llrint:2 2 2
    1182 nearbyint:4. 4. 4.
    1183 round:2. 2. 2.
    1184 round:2 2 2
    1185 round:2 2 2
    1186 lround:2 2 2
    1187 llround:2 2 2
    1188 copysign:-1. -1. -1.
    1189 frexp:0.5 3 0.5 3 0.5 3
    1190 ldexp:8. 8. 8.
    1191 modf:2. 0.3 2. 0.3 2. 0.3
    1192 modf:2., 0.3 2., 0.3 2., 0.3
    1193 nextafter:2. 2. 2.
    1194 nexttoward:2. 2. 2.
    1195 scalbn:16. 16. 16.
    1196 scalbln:16. 16. 16.
  • tests/.expect/mathX.nast.x86.txt

    r6cb7a92 r7cde04e  
    980980ceiling(9223372036854775808, 9223372036854775808) = 9223372036854775808, ceiling(9223372036854775810, 9223372036854775808) = 0, ceiling(9223372036854775806, 9223372036854775808) = 9223372036854775808
    981981
    982 floor:1. 1. 1.
    983 ceil:2. 2. 2.
    984 trunc:3. 3. 3.
    985 rint:2. 2. 2.
    986 rint:2 2 2
    987 rint:2 2 2
    988 lrint:2 2 2
    989 llrint:2 2 2
    990 nearbyint:4. 4. 4.
    991 round:2. 2. 2.
    992 round:2 2 2
    993 round:2 2 2
    994 lround:2 2 2
    995 llround:2 2 2
    996 copysign:-1. -1. -1.
    997 frexp:0.5 3 0.5 3 0.5 3
    998 ldexp:8. 8. 8.
    999 modf:2. 0.3 2. 0.3 2. 0.3
    1000 modf:2., 0.3 2., 0.3 2., 0.3
    1001 nextafter:2. 2. 2.
    1002 nexttoward:2. 2. 2.
    1003 scalbn:16. 16. 16.
    1004 scalbln:16. 16. 16.
Note: See TracChangeset for help on using the changeset viewer.