diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 6d43143..0ef90bc 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -2460,10 +2460,6 @@ CodeViewDebug::getTypeIndexForThisPtr(DITypeRef TypeRef, // so that the TypeIndex for the this pointer can be shared with the type // index for other pointers to this class type. If there is a ref qualifier // then we lookup the pointer using the subroutine as the parent type. - const DIType *ParentTy = nullptr; - if (Options != PointerOptions::None) - ParentTy = SubroutineTy; - auto I = TypeIndices.find({Ty, SubroutineTy}); if (I != TypeIndices.end()) return I->second; |