Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix another regression from the "skip vtable pointer initialization" | Anders Carlsson | 2011-05-16 | 1 | -0/+14 |
| | | | | | | | optimization. Make sure to require a vtable when trying to get the address of a VTT, otherwise we would never end up emitting the VTT. llvm-svn: 131400 | ||||
* | Re-enable the fix for PR9181 now that all the edge cases are handled. | Anders Carlsson | 2011-05-15 | 1 | -2/+81 |
| | | | | llvm-svn: 131385 | ||||
* | Disable the optimization until the bug noticed by Sean Hunt has been fixed. | Anders Carlsson | 2011-05-15 | 1 | -0/+1 |
| | | | | llvm-svn: 131372 | ||||
* | When emitting the destructor for a class with a vtable, if we can determine | Anders Carlsson | 2011-05-14 | 1 | -0/+106 |
that the destructor body is trivial and that all member variables also have either trivial destructors or trivial destructor bodies, we don't need to initialize the vtable pointers since no virtual member functions will be called on the destructor. Fixes PR9181. llvm-svn: 131368 |