Removed an unused function now that LLVM 9 is the minimal supported version
The function was only used in LLVM 8 compatibility code and was found and flagged by dead code detection and now removed.
This commit is contained in:
parent
b51bcc72d9
commit
8236830209
@ -100,11 +100,6 @@ fn to_llvm_tls_model(tls_model: TlsModel) -> llvm::ThreadLocalMode {
|
||||
}
|
||||
}
|
||||
|
||||
fn strip_function_ptr_alignment(data_layout: String) -> String {
|
||||
// FIXME: Make this more general.
|
||||
data_layout.replace("-Fi8-", "-")
|
||||
}
|
||||
|
||||
fn strip_x86_address_spaces(data_layout: String) -> String {
|
||||
data_layout.replace("-p270:32:32-p271:32:32-p272:64:64-", "-")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user