Upgrade to LLVM-2.9. Thanks to David Nadlinger for the patch.

This commit is contained in:
Kelly Wilson
2011-04-19 21:57:15 -06:00
parent 3bfc0a04d8
commit b26b0f4196
15 changed files with 221 additions and 250 deletions

View File

@@ -13,6 +13,7 @@
#include "ir/irstruct.h"
#include "ir/irvar.h"
#include "llvm/Analysis/DIBuilder.h"
#include "llvm/Support/CallSite.h"
namespace llvm {
@@ -157,7 +158,7 @@ struct IRState
IRBuilderHelper ir;
// debug info helper
llvm::DIFactory difactory;
llvm::DIBuilder dibuilder;
// static ctors/dtors/unittests
typedef std::list<FuncDeclaration*> FuncDeclList;