- Timestamp:
- Aug 29, 2018, 3:18:57 PM (6 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:
- 098f7ff
- Parents:
- 0720749b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Virtual/ExpandCasts.cc
r0720749b r8e6214f 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.