diff options
author | Mike Stump <mrs@apple.com> | 2010-01-22 18:48:47 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2010-01-22 18:48:47 +0000 |
commit | 372ade25bd4c56355172210dfc2a308cfa75b55a (patch) | |
tree | d5acaa5cdf8add804e0414b18520202839141d5c | |
parent | 588a4ad562d717ccbbdbbc36f57e967c0b1ca147 (diff) |
Finish off fixing up debug information.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94193 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 3cb699d0e5..e5abfc6f8d 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -376,14 +376,14 @@ public: CurrentVBaseOffset)) return; + D1(printf(" vfn for %s at %d\n", + dyn_cast<CXXMethodDecl>(GD.getDecl())->getNameAsCString(), + (int)Methods.size())); + // We didn't find an entry in the vtable that we could use, add a new // entry. Methods.AddMethod(GD); - D1(printf(" vfn for %s at %d\n", - dyn_cast<CXXMethodDecl>(GD.getDecl())->getNameAsCString(), - 666 /* (int)Index[GD] */)); - VCallOffset[GD] = Offset/8; if (MorallyVirtual) { Index_t &idx = VCall[GD]; |