From: Mike Stump Date: Thu, 12 Nov 2009 23:14:15 +0000 (+0000) Subject: Refine offsets into vtables for the VTT. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12e3e4f594c1ed896b7db72527668894434940d2;p=clang Refine offsets into vtables for the VTT. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87041 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 0a413bad18..af6ab0041e 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -843,7 +843,7 @@ class VTTBuilder { SecondaryVTTs(RD, Offset, MorallyVirtual); // and last the secondary vtable pointers. - Secondary(RD, vtbl, MorallyVirtual, Offset); + Secondary(RD, vtbl, Offset, MorallyVirtual); } /// SecondaryVTTs - Add the secondary VTTs to Inits. The secondary VTTs are