diff options
author | Lars Knoll <[email protected]> | 2018-06-01 09:35:20 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2018-06-04 13:02:39 +0000 |
commit | 0fac88c7ed7bafccd4c89fa952460c921bca85f0 (patch) | |
tree | edf7d9873110a6a2c857b90d6616148b0835b2ad /src/qml/compiler/qv4bytecodehandler.cpp | |
parent | 8d69977ab1f7f2d5eb8a0ce518071afe6a62894f (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 <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4bytecodehandler.cpp')
-rw-r--r-- | src/qml/compiler/qv4bytecodehandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4bytecodehandler.cpp b/src/qml/compiler/qv4bytecodehandler.cpp index ad1057bb9d..27182dcc72 100644 --- a/src/qml/compiler/qv4bytecodehandler.cpp +++ b/src/qml/compiler/qv4bytecodehandler.cpp @@ -269,9 +269,9 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint COLLECTOR_BEGIN_INSTR(CallContextObjectProperty) COLLECTOR_END_INSTR(CallContextObjectProperty) - COLLECTOR_BEGIN_INSTR(SetExceptionHandler) + COLLECTOR_BEGIN_INSTR(SetUnwindHandler) addLabel(code - start + offset); - COLLECTOR_END_INSTR(SetExceptionHandler) + COLLECTOR_END_INSTR(SetUnwindHandler) COLLECTOR_BEGIN_INSTR(ThrowException) COLLECTOR_END_INSTR(ThrowException) |