mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
Add a virtual destructor and give vtable a home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c59268197
commit
a30b181c20
@ -106,6 +106,7 @@ namespace llvm {
|
||||
virtual bool isFoldable(unsigned SizeCIOp, unsigned SizeArgOp,
|
||||
bool isString) const = 0;
|
||||
public:
|
||||
virtual ~SimplifyFortifiedLibCalls();
|
||||
bool fold(CallInst *CI, const TargetData *TD);
|
||||
};
|
||||
}
|
||||
|
@ -343,6 +343,8 @@ void llvm::EmitFWrite(Value *Ptr, Value *Size, Value *File,
|
||||
CI->setCallingConv(Fn->getCallingConv());
|
||||
}
|
||||
|
||||
SimplifyFortifiedLibCalls::~SimplifyFortifiedLibCalls() { }
|
||||
|
||||
bool SimplifyFortifiedLibCalls::fold(CallInst *CI, const TargetData *TD) {
|
||||
this->CI = CI;
|
||||
StringRef Name = CI->getCalledFunction()->getName();
|
||||
|
Loading…
Reference in New Issue
Block a user