Implement debug info for willset/didset, and teach dispatch to be non-virtual

to didset/will set since we don't drop these in the class vtable.


Swift SVN r13056
This commit is contained in:
Chris Lattner
2014-01-28 06:33:31 +00:00
parent 7bcf701ee1
commit 290a58494e
7 changed files with 22 additions and 8 deletions

View File

@@ -210,7 +210,7 @@ private:
void maybeAddMethod(FuncDecl *fn, ResilienceExpansion explosionLevel,
unsigned uncurryLevel) {
// Ignore getters and setters. This is probably wrong!
if (fn->isGetterOrSetter())
if (fn->isAccessor())
return;
// If the method overrides something, we don't need a new entry.