comparison 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
comparison
equal deleted inserted replaced
492:bebc6099fb89 493:017ca8645a1f
30 // represents a scope 30 // represents a scope
31 struct IRScope 31 struct IRScope
32 { 32 {
33 llvm::BasicBlock* begin; 33 llvm::BasicBlock* begin;
34 llvm::BasicBlock* end; 34 llvm::BasicBlock* end;
35 IRBuilder builder; 35 IRBuilder<> builder;
36 36
37 IRScope(); 37 IRScope();
38 IRScope(llvm::BasicBlock* b, llvm::BasicBlock* e); 38 IRScope(llvm::BasicBlock* b, llvm::BasicBlock* e);
39 }; 39 };
40 40
54 }; 54 };
55 55
56 struct IRBuilderHelper 56 struct IRBuilderHelper
57 { 57 {
58 IRState* state; 58 IRState* state;
59 IRBuilder* operator->(); 59 IRBuilder<>* operator->();
60 }; 60 };
61 61
62 struct IRAsmStmt 62 struct IRAsmStmt
63 { 63 {
64 IRAsmStmt() 64 IRAsmStmt()