- Timestamp:
- May 16, 2018, 1:48:13 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, with_gc
- Children:
- 0873d22e
- Parents:
- 099e202
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Lvalue.cc
r099e202 rc1ec14f 166 166 if ( isIntrinsicReference( appExpr ) ) { 167 167 // eliminate reference types from intrinsic applications - now they return lvalues 168 Type * result = appExpr->result;169 appExpr->result = result-> stripReferences()->clone();168 ReferenceType * result = strict_dynamic_cast< ReferenceType * >( appExpr->result ); 169 appExpr->result = result->base->clone(); 170 170 appExpr->result->set_lvalue( true ); 171 171 if ( ! inIntrinsic ) { … … 183 183 void FixIntrinsicResult::premutate( FunctionDecl * funcDecl ) { 184 184 GuardValue( inIntrinsic ); 185 inIntrinsic = 185 inIntrinsic = funcDecl->linkage == LinkageSpec::Intrinsic; 186 186 } 187 187
Note: See TracChangeset
for help on using the changeset viewer.