Mercurial > projects > ldc
comparison gen/irstate.h @ 314:8d98e42ece93 trunk
[svn r335] The basics of exception handling are in place.
Still need to make sure calls are turned into invokes everywhere. (NewExpression for instance)
Still some rough edges and corner cases to figure out.
Needs testing!
author | ChristianK |
---|---|
date | Wed, 02 Jul 2008 22:20:18 +0200 |
parents | 9967a3270837 |
children | a9697749e898 |
comparison
equal
deleted
inserted
replaced
313:a498b736a0bd | 314:8d98e42ece93 |
---|---|
134 IRScope& scope(); | 134 IRScope& scope(); |
135 llvm::BasicBlock* scopebb(); | 135 llvm::BasicBlock* scopebb(); |
136 llvm::BasicBlock* scopeend(); | 136 llvm::BasicBlock* scopeend(); |
137 bool scopereturned(); | 137 bool scopereturned(); |
138 | 138 |
139 // landing pads for try statements | |
140 typedef std::vector<llvm::BasicBlock*> BBVec; | |
141 BBVec landingPads; | |
142 | |
139 // loop blocks | 143 // loop blocks |
140 typedef std::vector<IRScope> BBVec; | |
141 typedef std::vector<IRLoopScope> LoopScopeVec; | 144 typedef std::vector<IRLoopScope> LoopScopeVec; |
142 LoopScopeVec loopbbs; | 145 LoopScopeVec loopbbs; |
143 | 146 |
144 // this holds the array being indexed or sliced so $ will work | 147 // this holds the array being indexed or sliced so $ will work |
145 // might be a better way but it works. problem is I only get a | 148 // might be a better way but it works. problem is I only get a |