forked from OSchip/llvm-project
Changed a TODO to a 'maybe some time in the future'.
llvm-svn: 149539
This commit is contained in:
parent
8030b7f751
commit
30025116de
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue