Closed Quuxplusone closed 13 years ago
Attached test.cc
(795 bytes, application/octet-stream): sample code
cloned to rdar://problem/9258154
There are two bugs here:
1. We're not devirtualizing the call to Derived::clone.
2. We're generating an incorrect member function vtable index for
Derived::clone.
I'm looking at 2 right now.
2 has been fixed in 129252. Will look at the devirtualization next.
The devirtualization has been fixed in revision 129253.
test.cc
(795 bytes, application/octet-stream)