view ir/irmodule.h @ 1574:72f00d740665

Fix bug #356. Our sorting function was wrong if a value was between two NULL pointers.
author Benjamin Kramer <benny.kra@gmail.com>
date Sat, 22 Aug 2009 11:45:20 +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