activate pre_validation when llvm backend selected

This commit is contained in:
Patrick Ventuzelo 2019-11-25 13:17:07 +01:00
parent 5c1c786e35
commit 7ca0430a40

View File

@ -263,7 +263,7 @@ impl<
fn requires_pre_validation(backend: Backend) -> bool { fn requires_pre_validation(backend: Backend) -> bool {
match backend { match backend {
Backend::Cranelift => true, Backend::Cranelift => true,
Backend::LLVM => false, Backend::LLVM => true,
Backend::Singlepass => false, Backend::Singlepass => false,
} }
} }