mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Implement lowering of has_symbol SIL instruction.
This commit is contained in:
@@ -315,9 +315,6 @@ private:
|
||||
/// This is the set of undef values we've created, for uniquing purposes.
|
||||
llvm::DenseMap<SILType, SILUndef *> UndefValues;
|
||||
|
||||
/// The list of decls that require query functions for #_hasSymbol conditions.
|
||||
llvm::SetVector<ValueDecl *> hasSymbolDecls;
|
||||
|
||||
llvm::DenseMap<std::pair<Decl *, VarDecl *>, unsigned> fieldIndices;
|
||||
llvm::DenseMap<EnumElementDecl *, unsigned> enumCaseIndices;
|
||||
|
||||
@@ -703,12 +700,6 @@ public:
|
||||
return externallyVisible.count(decl) != 0;
|
||||
}
|
||||
|
||||
void addHasSymbolDecl(ValueDecl *decl) { hasSymbolDecls.insert(decl); }
|
||||
|
||||
ArrayRef<ValueDecl *> getHasSymbolDecls() {
|
||||
return hasSymbolDecls.getArrayRef();
|
||||
}
|
||||
|
||||
using sil_global_iterator = GlobalListType::iterator;
|
||||
using sil_global_const_iterator = GlobalListType::const_iterator;
|
||||
GlobalListType &getSILGlobalList() { return silGlobals; }
|
||||
|
||||
Reference in New Issue
Block a user