- File:
-
- 1 edited
-
src/ResolvExpr/ConversionCost.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
r1c9568f0 rc378e5e 10 10 // Created On : Sun May 17 07:06:19 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 6 14:18:22201913 // Update Count : 2 512 // Last Modified On : Fri Apr 26 16:33:04 2019 13 // Update Count : 24 14 14 // 15 15 … … 249 249 /*_FLDXC*/ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, }, 250 250 }; // costMatrix 251 static const int maxIntCost = 15;252 251 // GENERATED END 253 252 static_assert( … … 462 461 } // if 463 462 } else if ( dynamic_cast< PointerType* >( dest ) ) { 464 cost = Cost::zero; 465 cost.incSafe( maxIntCost + 2 ); // +1 for zero_t -> int, +1 for disambiguation 463 cost = Cost::safe; 466 464 } // if 467 465 }
Note:
See TracChangeset
for help on using the changeset viewer.