1
Fork 0

Make x.py check work

This commit is contained in:
Eric Holk 2022-08-30 12:39:28 -07:00
parent ddfcca48c6
commit 3c2d20ef0b
7 changed files with 211 additions and 134 deletions

View file

@ -701,6 +701,10 @@ fn codegen_stmt<'tcx>(
let operand = codegen_operand(fx, operand);
operand.unsize_value(fx, lval);
}
Rvalue::Cast(CastKind::DynStar, _, _) => {
// FIXME(dyn-star)
unimplemented!()
}
Rvalue::Discriminant(place) => {
let place = codegen_place(fx, place);
let value = place.to_cvalue(fx);