view ir/irdtype.cpp @ 1287:6c8af78364f5

There's an issue with LLVM metadata support; it triggers an assert when trying to generate asm for code with metadata globals. This new pass is used as a workaround: it strips metadata from the module before it reaches the code generator. Obviously, this is disabled if LLVM doesn't support metadata.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 02 May 2009 12:19:43 +0200
parents 2a92c115461d
children
line wrap: on
line source

#include "gen/llvm.h"
#include "ir/ir.h"
#include "ir/irdtype.h"

IrDType::IrDType()
{
    type = NULL;
}