Ignore:
Timestamp:
Jun 13, 2018, 4:14:10 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env
Children:
b60f9d9
Parents:
1d7b0a8
Message:

New Cost fields for cost remodel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ConversionCost.cc

    r1d7b0a8 r6d53e779  
    2929
    3030namespace ResolvExpr {
    31         const Cost Cost::zero =      Cost(  0,  0,  0,  0 );
    32         const Cost Cost::infinity =  Cost( -1, -1, -1, -1 );
    33         const Cost Cost::unsafe =    Cost(  1,  0,  0,  0 );
    34         const Cost Cost::poly =      Cost(  0,  1,  0,  0 );
    35         const Cost Cost::safe =      Cost(  0,  0,  1,  0 );
    36         const Cost Cost::reference = Cost(  0,  0,  0,  1 );
     31        const Cost Cost::zero =      Cost{  0,  0,  0,  0,  0,  0 };
     32        const Cost Cost::infinity =  Cost{ -1, -1, -1,  1, -1, -1 };
     33        const Cost Cost::unsafe =    Cost{  1,  0,  0,  0,  0,  0 };
     34        const Cost Cost::poly =      Cost{  0,  1,  0,  0,  0,  0 };
     35        const Cost Cost::var =       Cost{  0,  0,  1,  0,  0,  0 };
     36        const Cost Cost::spec =      Cost{  0,  0,  0, -1,  0,  0 };
     37        const Cost Cost::safe =      Cost{  0,  0,  0,  0,  1,  0 };
     38        const Cost Cost::reference = Cost{  0,  0,  0,  0,  0,  1 };
    3739
    3840#if 0
Note: See TracChangeset for help on using the changeset viewer.