Refactor 'ReadForMatch' into 'FakeRead' and add the cause of the fake read

This commit is contained in:
Remy Rakic
2018-09-14 21:05:31 +02:00
parent 52b5362990
commit f5e310530a
19 changed files with 41 additions and 28 deletions

View File

@@ -89,7 +89,7 @@ impl FunctionCx<'a, 'll, 'tcx> {
asm::codegen_inline_asm(&bx, asm, outputs, input_vals);
bx
}
mir::StatementKind::ReadForMatch(_) |
mir::StatementKind::FakeRead(..) |
mir::StatementKind::EndRegion(_) |
mir::StatementKind::Validate(..) |
mir::StatementKind::AscribeUserType(..) |