Remove deprecated LLVM-style inline assembly
This commit is contained in:
@@ -239,10 +239,6 @@ fn is_likely_const<'tcx>(mut tracked_place: Place<'tcx>, block: &BasicBlockData<
|
||||
}
|
||||
}
|
||||
|
||||
// If inline assembly is found, we probably should
|
||||
// not try to analyze the code
|
||||
StatementKind::LlvmInlineAsm(_) => return false,
|
||||
|
||||
// These statements have no influence on the place
|
||||
// we are interested in
|
||||
StatementKind::FakeRead(_)
|
||||
@@ -320,10 +316,6 @@ fn find_determining_place<'tcx>(
|
||||
| StatementKind::CopyNonOverlapping(_)
|
||||
| StatementKind::Nop => {}
|
||||
|
||||
// If inline assembly is found, we probably should
|
||||
// not try to analyze the code
|
||||
StatementKind::LlvmInlineAsm(_) => return None,
|
||||
|
||||
// If the discriminant is set, it is always set
|
||||
// as a constant, so the job is already done.
|
||||
// As we are **ignoring projections**, if the place
|
||||
|
||||
Reference in New Issue
Block a user