commit | 11f22a35b7f08a8d017f6ab26e440edffc930f96 | [log] [tgz] |
---|---|---|
author | Timur Iskhodzhanov <timurrrr@google.com> | Thu Oct 03 06:26:13 2013 +0000 |
committer | Timur Iskhodzhanov <timurrrr@google.com> | Thu Oct 03 06:26:13 2013 +0000 |
tree | 85f3267a8a14d1c9e46f4a9970ae0ee2838c1675 | |
parent | 9683f1de5f8eb3a4dd7c7fcb4ff58033b9cfa46f [diff] [blame] |
Extract ABI-specific parts of MangleContext into separate classes Reviewed at http://llvm-reviews.chandlerc.com/D1807 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191878 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MicrosoftVBTables.cpp b/lib/CodeGen/MicrosoftVBTables.cpp index 4523aa8..f901eb5 100644 --- a/lib/CodeGen/MicrosoftVBTables.cpp +++ b/lib/CodeGen/MicrosoftVBTables.cpp
@@ -170,7 +170,8 @@ SmallString<256> OutName; llvm::raw_svector_ostream Out(OutName); - MangleContext &Mangler = CGM.getCXXABI().getMangleContext(); + MicrosoftMangleContext &Mangler = + cast<MicrosoftMangleContext>(CGM.getCXXABI().getMangleContext()); Mangler.mangleCXXVBTable(MostDerived, BasePath, Out); Out.flush(); StringRef Name = OutName.str();