Changeset eb1be63
- Timestamp:
- Jul 28, 2020, 2:38:39 PM (4 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:
- 3251b66
- Parents:
- c408483
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
rc408483 reb1be63 393 393 394 394 void ConversionCost::postvisit( const StructInstType * inst ) { 395 /* 395 396 if ( const StructInstType * destAsInst = dynamic_cast< const StructInstType * >( dest ) ) { 396 397 if ( inst->name == destAsInst->name ) { … … 398 399 } // if 399 400 } // if 401 */ 400 402 } 401 403 402 404 void ConversionCost::postvisit( const UnionInstType * inst ) { 405 /* 403 406 if ( const UnionInstType * destAsInst = dynamic_cast< const UnionInstType * >( dest ) ) { 404 407 if ( inst->name == destAsInst->name ) { … … 406 409 } // if 407 410 } // if 411 */ 408 412 } 409 413 … … 682 686 683 687 void ConversionCost_new::postvisit( const ast::StructInstType * structInstType ) { 688 /* 684 689 if ( const ast::StructInstType * dstAsInst = 685 690 dynamic_cast< const ast::StructInstType * >( dst ) ) { … … 688 693 } 689 694 } 695 */ 690 696 } 691 697 692 698 void ConversionCost_new::postvisit( const ast::UnionInstType * unionInstType ) { 699 /* 693 700 if ( const ast::UnionInstType * dstAsInst = 694 701 dynamic_cast< const ast::UnionInstType * >( dst ) ) { … … 697 704 } 698 705 } 706 */ 699 707 } 700 708
Note: See TracChangeset
for help on using the changeset viewer.