| commit | 478382521e966efd996194cbbce0088fbcf4db5c | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Tue Nov 09 01:18:05 2010 +0000 |
| committer | John McCall <rjmccall@apple.com> | Tue Nov 09 01:18:05 2010 +0000 |
| tree | 1852d6dd631b67ef2e91ad45039af56b9d43fdd5 | |
| parent | f11ea9ce618c6a0407431c2f88abbc6dc34bbc90 [diff] |
When re-using a vtable slot for the nearest overridden method, just because there's no return adjustment from the overridden to the overrider doesn't mean there isn't a return adjustment from the overrider to the final overrider. This matters if we're emitting a virtual this-adjustment thunk because the overrider virtually inherits from the class providing the nearest overridden method. Do the appropriate return adjustment in this case. Fixes PR7611. llvm-svn: 118466