diff options
Diffstat (limited to 'src/qml/compiler/qv4bytecodehandler.cpp')
| -rw-r--r-- | src/qml/compiler/qv4bytecodehandler.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/qml/compiler/qv4bytecodehandler.cpp b/src/qml/compiler/qv4bytecodehandler.cpp index 27182dcc72..ccd54c7444 100644 --- a/src/qml/compiler/qv4bytecodehandler.cpp +++ b/src/qml/compiler/qv4bytecodehandler.cpp @@ -273,6 +273,13 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint addLabel(code - start + offset); COLLECTOR_END_INSTR(SetUnwindHandler) + COLLECTOR_BEGIN_INSTR(UnwindDispatch) + COLLECTOR_END_INSTR(UnwindDispatch) + + COLLECTOR_BEGIN_INSTR(UnwindToLabel) + addLabel(code - start + offset); + COLLECTOR_END_INSTR(UnwindToLabel) + COLLECTOR_BEGIN_INSTR(ThrowException) COLLECTOR_END_INSTR(ThrowException) @@ -372,6 +379,10 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint addLabel(code - start + offset); COLLECTOR_END_INSTR(JumpFalse) + COLLECTOR_BEGIN_INSTR(JumpNoException) + addLabel(code - start + offset); + COLLECTOR_END_INSTR(JumpNoException) + COLLECTOR_BEGIN_INSTR(JumpNotUndefined) addLabel(code - start + offset); COLLECTOR_END_INSTR(JumpNotUndefined) @@ -422,14 +433,6 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint COLLECTOR_BEGIN_INSTR(CmpInstanceOf) COLLECTOR_END_INSTR(CmpInstanceOf) - COLLECTOR_BEGIN_INSTR(JumpStrictEqualStackSlotInt) - addLabel(code - start + offset); - COLLECTOR_END_INSTR(JumpStrictEqualStackSlotInt) - - COLLECTOR_BEGIN_INSTR(JumpStrictNotEqualStackSlotInt) - addLabel(code - start + offset); - COLLECTOR_END_INSTR(JumpStrictNotEqualStackSlotInt) - COLLECTOR_BEGIN_INSTR(UNot) COLLECTOR_END_INSTR(UNot) |
