aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-11-12 23:14:15 +0000
committerMike Stump <mrs@apple.com>2009-11-12 23:14:15 +0000
commit12e3e4f594c1ed896b7db72527668894434940d2 (patch)
tree6ac6199bff08b0fd184de82290171cc3a54d8ce5 /lib/CodeGen/CGVtable.cpp
parent28f7ce14ddbc1ba835615df8e4d42648a524b4c1 (diff)
Refine offsets into vtables for the VTT.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r--lib/CodeGen/CGVtable.cpp2
1 files changed, 1 insertions, 1 deletions
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