Changeset 2edd80ae
- Timestamp:
- Jul 26, 2017, 4:47:10 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 275f4b4, e213560
- Parents:
- a5f0529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
ra5f0529 r2edd80ae 1750 1750 1751 1751 Expression *PolyGenericCalculator::mutate( SizeofExpr *sizeofExpr ) { 1752 Type *ty = sizeofExpr->get_ type();1752 Type *ty = sizeofExpr->get_isType() ? sizeofExpr->get_type() : sizeofExpr->get_expr()->get_result(); 1753 1753 if ( findGeneric( ty ) ) { 1754 1754 Expression *ret = new NameExpr( sizeofName( mangleType( ty ) ) ); … … 1760 1760 1761 1761 Expression *PolyGenericCalculator::mutate( AlignofExpr *alignofExpr ) { 1762 Type *ty = alignofExpr->get_ type();1762 Type *ty = alignofExpr->get_isType() ? alignofExpr->get_type() : alignofExpr->get_expr()->get_result(); 1763 1763 if ( findGeneric( ty ) ) { 1764 1764 Expression *ret = new NameExpr( alignofName( mangleType( ty ) ) );
Note: See TracChangeset
for help on using the changeset viewer.