From e2d4a2c3a8a6869e088e9ad226bedf6a269b238b Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 3 Dec 2009 03:47:56 +0000 Subject: Add support for thunking dtors. Oh why does this make my head hurt? llvm-svn: 90409 --- clang/lib/CodeGen/CGVtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGVtable.cpp') diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index 007960e9983..aefe4cc0882 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/lib/CodeGen/CGVtable.cpp @@ -303,7 +303,7 @@ public: assert(Index == VtableBuilder::Index[GD] && "Thunk index mismatch!"); - submethods[Index] = CGM.BuildThunk(MD, Extern, Thunk.Adjustment); + submethods[Index] = CGM.BuildThunk(GD, Extern, Thunk.Adjustment); } Thunks.clear(); -- cgit v1.2.3