aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4vme_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-01 09:35:20 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-04 13:02:39 +0000
commit0fac88c7ed7bafccd4c89fa952460c921bca85f0 (patch)
treeedf7d9873110a6a2c857b90d6616148b0835b2ad /src/qml/jsruntime/qv4vme_moth.cpp
parent8d69977ab1f7f2d5eb8a0ce518071afe6a62894f (diff)
Rename SetExceptionHandler to SetUnwindHandler
It's being used for more than just exception handling, unwinding for return or break/continue statements also goes through those handlers. Change-Id: I145c7909540a1adca431de6a98d9c115ddf23612 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4vme_moth.cpp')
-rw-r--r--src/qml/jsruntime/qv4vme_moth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth.cpp b/src/qml/jsruntime/qv4vme_moth.cpp
index d5e3ef28bd..e180298789 100644
--- a/src/qml/jsruntime/qv4vme_moth.cpp
+++ b/src/qml/jsruntime/qv4vme_moth.cpp
@@ -886,9 +886,9 @@ QV4::ReturnedValue VME::interpret(CppStackFrame &frame, const char *code)
CHECK_EXCEPTION;
MOTH_END_INSTR(CallContextObjectProperty)
- MOTH_BEGIN_INSTR(SetExceptionHandler)
+ MOTH_BEGIN_INSTR(SetUnwindHandler)
frame.exceptionHandler = offset ? code + offset : nullptr;
- MOTH_END_INSTR(SetExceptionHandler)
+ MOTH_END_INSTR(SetUnwindHandler)
MOTH_BEGIN_INSTR(ThrowException)
STORE_IP();