Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
611:83ca663ecc20 | 612:d97b017a8aef |
---|---|
71 std::stack<size_t> nInfos; | 71 std::stack<size_t> nInfos; |
72 | 72 |
73 // the target for invokes | 73 // the target for invokes |
74 std::stack<llvm::BasicBlock*> padBBs; | 74 std::stack<llvm::BasicBlock*> padBBs; |
75 | 75 |
76 // associate increasing ints with each unique classdecl encountered | |
77 std::map<ClassDeclaration*, int> catchToInt; | |
78 | |
76 // storage for the catch variable | 79 // storage for the catch variable |
77 LLValue* catch_var; | 80 LLValue* catch_var; |
78 }; | 81 }; |
79 | 82 |
80 #endif | 83 #endif |