Fix a bug in catch{}finally{} and simplify code
authorLars Knoll <lars.knoll@digia.com>
Mon, 17 Dec 2012 14:18:38 +0000 (15:18 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 17 Dec 2012 19:26:38 +0000 (20:26 +0100)
commit4f22fcb2494e1e770edae4d08f394f93ed519740
tree93a71571fa0f7f4ae73f94d67de62cc4ccf52df6
parent2d4daa564719d61191aa4907494e8a728fbe335b
Fix a bug in catch{}finally{} and simplify code

There was a bug in the implementation of unwindException(),
that caused failures when called twice from one catch statement.

Also refactor and simplify the TryStatement code further by
introducing a rethrow builtin.

Change-Id: I77bf37f1707042f402488ef2dfaf4e59bf8dc82a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
moth/qv4instr_moth_p.h
moth/qv4isel_moth.cpp
qmljs_runtime.cpp
qmljs_runtime.h
qv4codegen.cpp
qv4codegen_p.h
qv4ir.cpp
qv4ir_p.h
qv4isel_masm.cpp