Mercurial > projects > ldc
diff ir/irlandingpad.h @ 612:d97b017a8aef
Fix issue with EH table indices and nested try-catch.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 21 Sep 2008 17:18:35 +0200 |
parents | d772927ca496 |
children | eef8ac26c66c |
line wrap: on
line diff
--- a/ir/irlandingpad.h Sun Sep 21 14:45:41 2008 +0200 +++ b/ir/irlandingpad.h Sun Sep 21 17:18:35 2008 +0200 @@ -73,6 +73,9 @@ // the target for invokes std::stack<llvm::BasicBlock*> padBBs; + // associate increasing ints with each unique classdecl encountered + std::map<ClassDeclaration*, int> catchToInt; + // storage for the catch variable LLValue* catch_var; };