diff options
Diffstat (limited to 'src/qml/compiler/qv4bytecodehandler.cpp')
| -rw-r--r-- | src/qml/compiler/qv4bytecodehandler.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4bytecodehandler.cpp b/src/qml/compiler/qv4bytecodehandler.cpp index 3e4844a1ac..8d1ac0bfd9 100644 --- a/src/qml/compiler/qv4bytecodehandler.cpp +++ b/src/qml/compiler/qv4bytecodehandler.cpp @@ -263,6 +263,15 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint COLLECTOR_BEGIN_INSTR(CallContextObjectProperty) COLLECTOR_END_INSTR(CallContextObjectProperty) + COLLECTOR_BEGIN_INSTR(CallWithSpread) + COLLECTOR_END_INSTR(CallWithSpread) + + COLLECTOR_BEGIN_INSTR(Construct) + COLLECTOR_END_INSTR(Construct) + + COLLECTOR_BEGIN_INSTR(ConstructWithSpread) + COLLECTOR_END_INSTR(ConstructWithSpread) + COLLECTOR_BEGIN_INSTR(SetUnwindHandler) addLabel(code - start + offset); COLLECTOR_END_INSTR(SetUnwindHandler) @@ -355,9 +364,6 @@ std::vector<int> ByteCodeHandler::collectLabelsInBytecode(const char *code, uint COLLECTOR_BEGIN_INSTR(ToObject) COLLECTOR_END_INSTR(ToObject) - COLLECTOR_BEGIN_INSTR(Construct) - COLLECTOR_END_INSTR(Construct) - COLLECTOR_BEGIN_INSTR(Jump) addLabel(code - start + offset); COLLECTOR_END_INSTR(Jump) |
