view ir/irmodule.h @ 798:92ea3015ace6

Use toParent instead of toParent2 to determine whether inside a function body.
author Christian Kamm <kamm incasoftware de>
date Sat, 29 Nov 2008 17:06:36 +0100
parents b411c41a9716
children 1714836f2c0b
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* dwarfCompileUnit;
    LLGlobalVariable* fileName;
};

#endif