view ir/irmodule.h @ 1008:4c20df3837f9

Preparation for next patch. Don't ask about why this is needed. I hate the preprocessor. Let's just leave it at that.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 28 Feb 2009 16:09:35 +0100
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