SILGen: Remove more references to the 'uncurry level' concept

This commit is contained in:
Slava Pestov
2017-11-06 17:56:23 -08:00
parent e2e73d2711
commit ced25fb0d7
9 changed files with 76 additions and 122 deletions

View File

@@ -66,8 +66,6 @@ bool requiresForeignEntryPoint(ValueDecl *vd);
/// True if the entry point is natively foreign.
bool requiresForeignToNativeThunk(ValueDecl *vd);
unsigned getNaturalUncurryLevel(ValueDecl *vd);
enum ForDefinition_t : bool {
NotForDefinition = false,
ForDefinition = true
@@ -304,7 +302,7 @@ struct SILDeclRef {
void print(llvm::raw_ostream &os) const;
void dump() const;
unsigned getUncurryLevel() const;
unsigned getParameterListCount() const;
ResilienceExpansion getResilienceExpansion() const {
return ResilienceExpansion(Expansion);