From 1f49d652356c85a7e32b99d209429c5bb2b79195 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Fri, 22 Jan 2010 18:48:47 +0000 Subject: [PATCH] Finish off fixing up debug information. llvm-svn: 94193 --- clang/lib/CodeGen/CGVtable.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index 3cb699d0e5b7..e5abfc6f8d57 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/lib/CodeGen/CGVtable.cpp @@ -376,14 +376,14 @@ public: CurrentVBaseOffset)) return; + D1(printf(" vfn for %s at %d\n", + dyn_cast(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(GD.getDecl())->getNameAsCString(), - 666 /* (int)Index[GD] */)); - VCallOffset[GD] = Offset/8; if (MorallyVirtual) { Index_t &idx = VCall[GD];