Changeset f8b69da7 for src/Virtual
- Timestamp:
- Aug 29, 2018, 3:23:55 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a715b5c
- Parents:
- a42a654 (diff), 546b51e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Virtual/ExpandCasts.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Virtual/ExpandCasts.cc
ra42a654 rf8b69da7 147 147 // ) 148 148 // ), 149 new UntypedExpr( new NameExpr( "__cfa__virtual_cast"), {149 new ApplicationExpr( VariableExpr::functionPointer( vcast_decl ), { 150 150 new CastExpr( 151 151 new AddressExpr( new VariableExpr( table ) ), 152 152 pointer_to_pvt(1) 153 ),153 ), 154 154 new CastExpr( 155 155 castExpr->get_arg(), 156 156 pointer_to_pvt(2) 157 )158 } ),157 ) 158 } ), 159 159 castExpr->get_result()->clone() 160 );160 ); 161 161 162 162 castExpr->set_arg( nullptr );
Note:
See TracChangeset
for help on using the changeset viewer.