Get rid of the builtin_get_exception call in the IR
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 6 Mar 2013 19:04:36 +0000 (20:04 +0100)
committerLars Knoll <lars.knoll@digia.com>
Wed, 6 Mar 2013 21:19:26 +0000 (22:19 +0100)
commit117455638a555629e82e415312908128280ad72d
tree4a2527587ad62f48a8ce84b904140d0e3d7a53c9
parent48943d74d70fb84d7ad8ce7590e608ff8b78b670
Get rid of the builtin_get_exception call in the IR

Instead allocate a temp to hold the exception to rethrow and pass the address
of that to the TRY statement. Then it can be set in the run-time.

Change-Id: Ic15869e8e5ab5119b26f98fc45dbdb1a2ad9d21e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
13 files changed:
src/v4/moth/qv4instr_moth_p.h
src/v4/moth/qv4isel_moth.cpp
src/v4/moth/qv4isel_moth_p.h
src/v4/moth/qv4vme_moth.cpp
src/v4/qv4codegen.cpp
src/v4/qv4isel_llvm.cpp
src/v4/qv4isel_llvm_p.h
src/v4/qv4isel_masm.cpp
src/v4/qv4isel_masm_p.h
src/v4/qv4isel_p.cpp
src/v4/qv4isel_p.h
src/v4/qv4jsir.cpp
src/v4/qv4jsir_p.h