Mercurial > projects > ldc
view ir/irmodule.h @ 267:c43911baea21 trunk
[svn r288] Let return statements start a new basic block after terminating the current one.
This fixes problems such as
void main()
{ return; return; }
author | ChristianK |
---|---|
date | Sun, 15 Jun 2008 18:37:23 +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