view ir/irmodule.h @ 435:74101be2a553

Added type param to DVarValue as DMD sometimes overrides the type of the VarDeclaration. Added support for align(1)/packed structs, other alignments are still ignored. Fixed some problems with accessing lazy arguments.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 30 Jul 2008 10:12:55 +0200
parents e3355ce5444b
children eef8ac26c66c
line wrap: on
line source

#ifndef LLVMDC_IR_IRMODULE_H
#define LLVMDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* dwarfCompileUnit;
};

#endif