diff options
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 399b921b52..b7f8fe77ea 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -971,7 +971,7 @@ VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets(BaseSubobject Base, } // FIXME: Don't use /8 here. - int64_t OffsetToTop = -(int64_t)Base.getBaseOffset() / 8; + int64_t OffsetToTop = -(int64_t)RealBaseOffset / 8; AddVBaseOffsets(Base.getBase(), OffsetToTop); // We only want to add vcall offsets for virtual bases. |