171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
+
-
+
|
dm.emitErrorMessage( defRetVal->locationId(), "ambiguous default return value conversion." );
break;
}
return nullptr;
}
cfg->currentBB()->append( get< Value >( converted ) );
cfg->emitTerminator( r->currentLocation(), cir::Ret( get< Value >( converted ) ) );
cfg->emitTerminator( r->currentLocation(), cir::Ret() );
}
}
// TODO_REENABLE_VERIFY
/* verify::Func fv( c, cfg, returnType );
if( !fv.verify() )
return nullptr;*/
|