From 0fac88c7ed7bafccd4c89fa952460c921bca85f0 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 1 Jun 2018 09:35:20 +0200 Subject: 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 --- src/qml/compiler/qv4instr_moth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/compiler/qv4instr_moth.cpp') diff --git a/src/qml/compiler/qv4instr_moth.cpp b/src/qml/compiler/qv4instr_moth.cpp index c50735b61e..ec9f3fc972 100644 --- a/src/qml/compiler/qv4instr_moth.cpp +++ b/src/qml/compiler/qv4instr_moth.cpp @@ -384,12 +384,12 @@ void dumpBytecode(const char *code, int len, int nLocals, int nFormals, int /*st d << dumpRegister(base, nFormals) << "." << name << dumpArguments(argc, argv, nFormals); MOTH_END_INSTR(CallContextObjectProperty) - MOTH_BEGIN_INSTR(SetExceptionHandler) + MOTH_BEGIN_INSTR(SetUnwindHandler) if (offset) d << ABSOLUTE_OFFSET(); else d << ""; - MOTH_END_INSTR(SetExceptionHandler) + MOTH_END_INSTR(SetUnwindHandler) MOTH_BEGIN_INSTR(ThrowException) MOTH_END_INSTR(ThrowException) -- cgit v1.2.3