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

@@ -194,8 +194,6 @@ void ExpStatement::toIR(IRState* p)
DtoDwarfStopPoint(loc.linnum);
if (exp) {
if (global.params.llvmAnnotate)
DtoAnnotation(exp->toChars());
elem* e;
// a cast(void) around the expression is allowed, but doesn't require any code
if(exp->op == TOKcast && exp->type == Type::tvoid) {