Changeset 504eb72
- Timestamp:
- Jul 24, 2019, 5:30:32 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 2890212
- Parents:
- 96ac72c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
r96ac72c r504eb72 693 693 void ConversionCost_new::postvisit( const ast::EnumInstType * enumInstType ) { 694 694 (void)enumInstType; 695 static const ast::BasicType integer( ast::BasicType::SignedInt );696 cost = costCalc( &integer, dst, symtab, env );695 static ast::ptr<ast::BasicType> integer = { new ast::BasicType( ast::BasicType::SignedInt ) }; 696 cost = costCalc( integer, dst, symtab, env ); 697 697 if ( cost < Cost::unsafe ) { 698 698 cost.incSafe();
Note: See TracChangeset
for help on using the changeset viewer.