Finish off fixing up debug information.

llvm-svn: 94193
This commit is contained in:
Mike Stump 2010-01-22 18:48:47 +00:00
parent e5f7214fac
commit 1f49d65235
1 changed files with 4 additions and 4 deletions

View File

@ -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];