summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2010-01-22 18:48:47 +0000
committerMike Stump <mrs@apple.com>2010-01-22 18:48:47 +0000
commit1f49d652356c85a7e32b99d209429c5bb2b79195 (patch)
treec6c805f94d86dc61e2267e517eb5a05c4ad77a94
parente5f7214fac2a404d16eb5dac243e1882c16d29a1 (diff)
downloadbcm5719-llvm-1f49d652356c85a7e32b99d209429c5bb2b79195.tar.gz
bcm5719-llvm-1f49d652356c85a7e32b99d209429c5bb2b79195.zip
Finish off fixing up debug information.
llvm-svn: 94193
-rw-r--r--clang/lib/CodeGen/CGVtable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp
index 3cb699d0e5b..e5abfc6f8d5 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<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];
OpenPOWER on IntegriCloud