Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 569 Bytes

DOCS.md

File metadata and controls

2 lines (2 loc) · 569 Bytes

Documentation scribbles

Luna uses stable sorting for inline exception handlers. That is, every well-formed TryBlock (built by using the pseudo-instructions TryBlockStart, TryBlockEnd and TryBlockCatchHandler) is stored in a flat list and the list is then sorted by the Priority property of every TryBlock (configurable in the constructor of TryBlockStart, default value is 0). TryBlocks with equal Priorities will be positioned in order of appearance, TryBlocks with higher Priorities will be positioned closer to index 0 (to the top of the exception handler table).