mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Drop support for LLVM < 3.7
This commit is contained in:
parent
4e174ff19c
commit
1fb269f940
72 changed files with 98 additions and 3862 deletions
|
@ -57,7 +57,6 @@ llvm::FunctionType *IrFunction::getLLVMFuncType() const {
|
|||
return func->getFunctionType();
|
||||
}
|
||||
|
||||
#if LDC_LLVM_VER >= 307
|
||||
bool IrFunction::hasLLVMPersonalityFn() const {
|
||||
assert(func != nullptr);
|
||||
return func->hasPersonalityFn();
|
||||
|
@ -67,7 +66,6 @@ void IrFunction::setLLVMPersonalityFn(llvm::Constant *personality) {
|
|||
assert(func != nullptr);
|
||||
func->setPersonalityFn(personality);
|
||||
}
|
||||
#endif
|
||||
|
||||
llvm::StringRef IrFunction::getLLVMFuncName() const {
|
||||
assert(func != nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue