Rethrow the right exception after finally if catch is missing.
authorErik Verbruggen <erik.verbruggen@digia.com>
Thu, 15 Nov 2012 12:12:55 +0000 (13:12 +0100)
committerLars Knoll <lars.knoll@digia.com>
Thu, 15 Nov 2012 12:31:33 +0000 (13:31 +0100)
commit559115fc6320ebc1d376da111d92c3f0d262e9d5
tree60f709c0145be926c9df755d40413bdd86983318
parent68b099b8f8caf0b3df1ca77dd7f2b884f1fea1ed
Rethrow the right exception after finally if catch is missing.

Save the (unhandled) exception, because there might be another try block
with a catch in the finally block. Restore it at the end of the finally
block.

The codegen for the finally, which is also needed for the break/continue
trampoline blocks, has moved into a helper method.

Change-Id: Iff28506b92a3749c6a5585fb6d94f3120696e89a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qv4codegen.cpp
qv4codegen_p.h