Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Unify.cc

    re6cee92 r62423350  
    4242                virtual void visit(PointerType *pointerType);
    4343                virtual void visit(ArrayType *arrayType);
    44                 virtual void visit(ReferenceType *refType);
    4544                virtual void visit(FunctionType *functionType);
    4645                virtual void visit(StructInstType *aggregateUseType);
     
    377376                                } // if
    378377                        } else {
    379                                 common = type1->clone();
    380                                 common->get_qualifiers() = tq1 | tq2;
    381378                                result = true;
    382379                        } // if
     
    428425                        markAssertions( haveAssertions, needAssertions, pointerType );
    429426                        markAssertions( haveAssertions, needAssertions, otherPointer );
    430                 } // if
    431         }
    432 
    433         void Unify::visit(ReferenceType *refType) {
    434                 if ( ReferenceType *otherRef = dynamic_cast< ReferenceType* >( type2 ) ) {
    435                         result = unifyExact( refType->get_base(), otherRef->get_base(), env, needAssertions, haveAssertions, openVars, WidenMode( false, false ), indexer );
    436                         markAssertions( haveAssertions, needAssertions, refType );
    437                         markAssertions( haveAssertions, needAssertions, otherRef );
    438427                } // if
    439428        }
Note: See TracChangeset for help on using the changeset viewer.