Removed long obsolete (and broken) LLVM IR annotation code.

If someone wants to redo this properly, an idea that actually works
would be to use a custom llvm::AssemblyAnnotationWriter.
This commit is contained in:
David Nadlinger
2012-12-18 15:52:14 +01:00
parent c250b8b208
commit 2988bc46e0
7 changed files with 0 additions and 32 deletions

View File

@@ -260,8 +260,6 @@ void DtoBuildDVarArgList(std::vector<LLValue*>& args,
for (int i=begin,k=0; i<n_arguments; i++,k++)
{
Expression* argexp = static_cast<Expression*>(arguments->data[i]);
if (global.params.llvmAnnotate)
DtoAnnotation(argexp->toChars());
LLValue* argdst = DtoGEPi(mem,0,k);
argdst = DtoBitCast(argdst, getPtrToType(DtoType(argexp->type)));
DtoVariadicArgument(argexp, argdst);