mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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;
|
||||||
|
|||||||
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user