aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmetatype_p.h
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2023-08-29 12:27:46 +0200
committerOlivier De Cannière <olivier.decanniere@qt.io>2023-08-30 10:06:13 +0200
commit041b326fe6f5b98bf4f808976bdfc1a8d5aaeede (patch)
tree943e9f2e4409687e1138700d328d079b16f50e9d /src/qml/qml/qqmlmetatype_p.h
parent50a7560b784f16e4d8d697ce62bede8aa56d75f6 (diff)
qv4codegen: Eliminate redundant SetUnwindHandler for try-catch-finally
For try-catch-finally sequences with a catch block, the generator would start by setting the unwind handler to code from the finally block and immediately after that set the handler to code from the catch block, overwriting the last instruction. In cases with catch blocks, do not emit the first instruction setting the unwind handler. Change-Id: I588433c1ad2521b1750f77f2084315a707577a8a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlmetatype_p.h')
0 files changed, 0 insertions, 0 deletions