]> granicus.if.org Git - clang/commitdiff
Refine offsets into vtables for the VTT.
authorMike Stump <mrs@apple.com>
Thu, 12 Nov 2009 23:14:15 +0000 (23:14 +0000)
committerMike Stump <mrs@apple.com>
Thu, 12 Nov 2009 23:14:15 +0000 (23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87041 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGVtable.cpp

index 0a413bad1884e9a0ea1f6cba396d3ef80ac1a6dd..af6ab0041e840bfe1c8dd0ebf25a1213800af9e4 100644 (file)
@@ -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