view ir/irmodule.h @ 1393:04177061f98d

Patch to allow compiling LDC with MinGW, by `mp4 / [1]jaffa` (slightly edited). Closes #300.
author Frits van Bommel <fvbommel wxs.nl>
date Mon, 18 May 2009 14:02:50 +0200
parents 1714836f2c0b
children
line wrap: on
line source

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module, const char* srcfilename);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* fileName;
    llvm::DICompileUnit diCompileUnit;
};

#endif