Removed use of DMD's toPrettyChars function for providing llvm value names.

This commit is contained in:
Tomas Lindquist Olsen
2008-11-29 22:37:36 +01:00
parent 5d1366d27f
commit d522fef71f

View File

@@ -1266,7 +1266,7 @@ LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl)
if (!fdecl->isMember2()->isInterfaceDeclaration())
funcval = DtoGEPi(funcval, 0, 0, "tmp");
funcval = DtoLoad(funcval);
funcval = DtoGEPi(funcval, 0, fdecl->vtblIndex, fdecl->toPrettyChars());
funcval = DtoGEPi(funcval, 0, fdecl->vtblIndex, fdecl->toChars());
funcval = DtoLoad(funcval);
if (Logger::enabled())