Mercurial > projects > ldc
view ir/irmodule.cpp @ 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 | b411c41a9716 |
line wrap: on
line source
#include "gen/llvm.h" #include "ir/irmodule.h" IrModule::IrModule(Module* module) { M = module; dwarfCompileUnit = NULL; } IrModule::~IrModule() { }