diff gen/irstate.h @ 493:017ca8645a1f

Make llvmdc work with llvm 2.4svn revision 54614. Breaks compatibility with llvm 2.3.
author Christian Kamm <kamm incasoftware de>
date Sun, 10 Aug 2008 21:09:23 +0200
parents 253f234eb80c
children df196c8dea26
line wrap: on
line diff
--- a/gen/irstate.h	Sun Aug 10 18:35:27 2008 +0200
+++ b/gen/irstate.h	Sun Aug 10 21:09:23 2008 +0200
@@ -32,7 +32,7 @@
 {
     llvm::BasicBlock* begin;
     llvm::BasicBlock* end;
-    IRBuilder builder;
+    IRBuilder<> builder;
 
     IRScope();
     IRScope(llvm::BasicBlock* b, llvm::BasicBlock* e);
@@ -56,7 +56,7 @@
 struct IRBuilderHelper
 {
     IRState* state;
-    IRBuilder* operator->();
+    IRBuilder<>* operator->();
 };
 
 struct IRAsmStmt