Proper exception handling
authorLars Knoll <lars.knoll@digia.com>
Sun, 21 Oct 2012 22:18:31 +0000 (00:18 +0200)
committerLars Knoll <lars.knoll@digia.com>
Wed, 24 Oct 2012 06:46:49 +0000 (08:46 +0200)
commit5f06c71bc1bf146977b6a189491f73ddf8792777
treeb4d83b72d235d0adb03db75bce910d2d1278c502
parent2c62e69b8d1b49dd440f17c7de2f93be970699cb
Proper exception handling

Implement exceptions using setjmp/longjmp. The
advantage is that this removes all exception
handling overhead from regular code, the only
code that still has a (very small) overhead
is the try{} catch() {} statement.

Change-Id: I43d6a60dfc9dfd4b7a20d2e99ab0a9315b4d8a2f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
12 files changed:
llvm_runtime.cpp
main.cpp
qmljs_objects.h
qmljs_runtime.cpp
qmljs_runtime.h
qv4codegen.cpp
qv4codegen_p.h
qv4ir.cpp
qv4ir_p.h
qv4isel_llvm.cpp
qv4isel_masm.cpp
qv4isel_masm_p.h