diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp index c0a239476240..43c91d123c9b 100644 --- a/libcxxabi/src/private_typeinfo.cpp +++ b/libcxxabi/src/private_typeinfo.cpp @@ -618,7 +618,6 @@ __dynamic_cast(const void *static_ptr, const __class_type_info *static_type, const __class_type_info *dst_type, std::ptrdiff_t 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 = *static_cast(static_ptr);