Changed a TODO to a 'maybe some time in the future'.

llvm-svn: 149539
This commit is contained in:
Howard Hinnant 2012-02-01 21:12:07 +00:00
parent 8030b7f751
commit 30025116de
1 changed files with 2 additions and 1 deletions

View File

@ -402,7 +402,8 @@ __dynamic_cast(const void* static_ptr,
const __class_type_info* dst_type,
std::ptrdiff_t src2dst_offset)
{
// TODO: Take advantage of src2dst_offset
// Possible future optimization: Take advantage of src2dst_offset
// Currently clang always sets src2dst_offset to -1 (no hint).
// Get (dynamic_ptr, dynamic_type) from static_ptr
void** vtable = *(void***)static_ptr;