From d31541fd9d7d52ef3eae29e7e5d36733d7f55375 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 1 Jul 2018 12:00:57 +0200 Subject: Add support for super properties Those are mostly working now, but when calling super properties the this object is not setup correctly. Change-Id: Ib42129ae6e729eeca00275f707f480371b7e42a5 Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4bytecodehandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qml/compiler/qv4bytecodehandler.cpp') diff --git a/src/qml/compiler/qv4bytecodehandler.cpp b/src/qml/compiler/qv4bytecodehandler.cpp index 45968570d0..23f7051718 100644 --- a/src/qml/compiler/qv4bytecodehandler.cpp +++ b/src/qml/compiler/qv4bytecodehandler.cpp @@ -212,6 +212,12 @@ std::vector ByteCodeHandler::collectLabelsInBytecode(const char *code, uint COLLECTOR_BEGIN_INSTR(SetLookup) COLLECTOR_END_INSTR(SetLookup) + COLLECTOR_BEGIN_INSTR(LoadSuperProperty) + COLLECTOR_END_INSTR(LoadSuperProperty) + + COLLECTOR_BEGIN_INSTR(StoreSuperProperty) + COLLECTOR_END_INSTR(StoreSuperProperty) + COLLECTOR_BEGIN_INSTR(StoreScopeObjectProperty) COLLECTOR_END_INSTR(StoreScopeObjectProperty) -- cgit v1.2.3