Change mangleCXXVtable and mangleCXXRtti to take CXXRecordDecls instead of QualTypes.

llvm-svn: 83793
diff --git a/clang/lib/CodeGen/CGRtti.cpp b/clang/lib/CodeGen/CGRtti.cpp
index 15f56dc..7bc774f 100644
--- a/clang/lib/CodeGen/CGRtti.cpp
+++ b/clang/lib/CodeGen/CGRtti.cpp
@@ -25,9 +25,8 @@
 
   llvm::SmallString<256> OutName;
   llvm::raw_svector_ostream Out(OutName);
-  QualType ClassTy;
-  ClassTy = getContext().getTagDeclType(RD);
-  mangleCXXRtti(getMangleContext(), ClassTy, Out);
+  mangleCXXRtti(getMangleContext(), RD, Out);
+  
   llvm::GlobalVariable::LinkageTypes linktype;
   linktype = llvm::GlobalValue::WeakAnyLinkage;
   std::vector<llvm::Constant *> info;