Cleanup exception handling
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 1 Oct 2013 14:19:28 +0000 (16:19 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Oct 2013 07:24:41 +0000 (09:24 +0200)
commit7d9780b6308e15dcd4adcb65d7b516666c285f54
tree94c598d4aba187293dace67011dbcaf8347ef8b7
parent8abf7f5876a48c0879bce628597533c7b6eca9a0
Cleanup exception handling

The code in the Exception class operates entirely on the engine's data,
so move it into ExecutionEngine instead. This eliminates the need for
a QV4::Exception class and catches and old code that tries to still do
catch (Exception &) instead of catch (...)

Change-Id: Ie608bec6af652038aca6c9423c225a4d7eb13b39
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
21 files changed:
src/imports/localstorage/plugin.cpp
src/qml/compiler/qv4isel_masm.cpp
src/qml/jsapi/qjsengine.cpp
src/qml/jsapi/qjsvalue.cpp
src/qml/jsapi/qjsvalueiterator.cpp
src/qml/jsruntime/jsruntime.pri
src/qml/jsruntime/qv4context.cpp
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4engine_cxxabi.cpp [moved from src/qml/jsruntime/qv4exception_gcc.cpp with 96% similarity]
src/qml/jsruntime/qv4engine_p.h
src/qml/jsruntime/qv4exception.cpp [deleted file]
src/qml/jsruntime/qv4exception_p.h [deleted file]
src/qml/jsruntime/qv4functionobject.cpp
src/qml/jsruntime/qv4globalobject.cpp
src/qml/jsruntime/qv4include.cpp
src/qml/jsruntime/qv4script.cpp
src/qml/jsruntime/qv4value.cpp
src/qml/jsruntime/qv4vme_moth.cpp
src/qml/qml/qqmljavascriptexpression_p.h
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
tools/v4/main.cpp