Feature #17
Implement Exception Handling
| Status: | New | Start date: | 07/12/2011 | ||
|---|---|---|---|---|---|
| Priority: | High | Due date: | |||
| Assignee: | % Done: | 67% |
|||
| Category: | Compiler | Spent time: | - | ||
| Target version: | 1.1 |
Subtasks
Related issues
History
Updated by Phil Garcia about 1 year ago
- Assignee changed from Michael Fröhlich to Simon Wollwage
Updated by Phil Garcia 7 months ago
Here's optimized X86 code for searching the (unsorted) method mapping table:
Input:
EAX = method mapping table
ECX = program counter
Output:
EAX = Result
Code:
test eax, eax
je L003
L001:
cmp ecx, [eax]
jb L002
cmp ecx, [eax+4]
jb L004
L002:
add eax, 12
jne L001
L003:
xor eax, eax
ret
L004:
mov eax, [eax+8]
ret
Updated by Phil Garcia 6 months ago
- Assignee changed from Simon Wollwage to Phil Garcia
Try/Finally clauses are now implemented and passing a few unit tests. Next is try/exception clauses, throw implementation, and many more unit tests.
Updated by Phil Garcia 6 months ago
- Target version changed from 1.0 to 1.1