Revision 778481
Go back to digest for 24th February 2008Features in KDE Base
Maks Orlovich committed changes in /branches/work/kjs-frostbyte/kjs:
Implement exception handling:
- add a deferred exception stack to permit temporarily suspending exceptions for the duration of a 'finally'
- codegen for try, throw. The former manages the exception handler stack, including pushing cleanup entries for the scope stack, and the deferred exception stack
- setException now applies any scope/deferred exception scope unwinds, and updates the PC based on the active handler
File Changes
Modified 7 files
- /branches/work/kjs-frostbyte/kjs
- /ExecState.cpp
- /ExecState.h
- /nodes.cpp
- /nodes.h
- /nodes2bytecode.cpp
- /bytecode/codes.def
- /bytecode/machine.cpp.in
7 files changed in total