[cxx-interop][SwiftCompilerSources] Remove a workaround

The definition of `~BasicCalleeAnalysis` can now be inlined.

rdar://127152872 / resolves https://github.com/apple/swift/issues/64502
This commit is contained in:
Egor Zhdan
2024-06-03 14:04:30 +01:00
parent d812e11fcc
commit 2d255e7129
2 changed files with 1 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ public:
BasicCalleeAnalysis(SILModule *M) BasicCalleeAnalysis(SILModule *M)
: SILAnalysis(SILAnalysisKind::BasicCallee), M(*M), Cache(nullptr) {} : SILAnalysis(SILAnalysisKind::BasicCallee), M(*M), Cache(nullptr) {}
~BasicCalleeAnalysis(); ~BasicCalleeAnalysis() {}
static bool classof(const SILAnalysis *S) { static bool classof(const SILAnalysis *S) {
return S->getKind() == SILAnalysisKind::BasicCallee; return S->getKind() == SILAnalysisKind::BasicCallee;

View File

@@ -30,10 +30,6 @@
using namespace swift; using namespace swift;
// TODO: can't be inlined to work around https://github.com/apple/swift/issues/64502
BasicCalleeAnalysis::~BasicCalleeAnalysis() {
}
void BasicCalleeAnalysis::dump() const { void BasicCalleeAnalysis::dump() const {
print(llvm::errs()); print(llvm::errs());
} }