mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 09:33:27 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user