summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 13:44:57 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 15:40:40 +0200
commit95c1ccd0b1d863e8a7f3643b025dc80000af5aa8 (patch)
tree883b66e920c13b942866e229bed97b5b3b42fbe5
parent291c50e6fc89dea5d2e0ba731a2188a4ccacbd06 (diff)
MLKLLVMCompiler: Make compilable with the latest unstable version of LLVM.
-rw-r--r--MLKLLVMCompiler.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index 8c837ef..72b1c3d 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -47,7 +47,7 @@ using namespace llvm;
static ExecutionEngine *execution_engine;
static llvm::Module *module;
-static IRBuilder builder;
+static IRBuilder<true, ConstantFolder> builder;
static FunctionPassManager *fpm;
static PointerType *PointerTy;
static ModuleProvider *module_provider;