search for: except1

Displaying 1 result from an estimated 1 matches for "except1".

Did you mean: except
2009 May 28
2
[LLVMdev] Nested exception handlers
Now that I've got exceptions working, I'm kind of wondering how to handle the case of nested "try" blocks. Say I have some code that looks like this: try { try { if (test) { // throw something } else { return; } } catch e:Except1 { } catch e:Except2 { } finally { } // more code... } catch e:Except3 { } finally { } Turning this into a list of basic blocks is starting to get rather complex. In particular: * For the innermost try block, there will be 4 possible selectors, corresponding to Ex...