aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlscript_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlscript_p.h')
-rw-r--r--src/qml/qml/qqmlscript_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlscript_p.h b/src/qml/qml/qqmlscript_p.h
index 7aecba993b..86bbc1fb3a 100644
--- a/src/qml/qml/qqmlscript_p.h
+++ b/src/qml/qml/qqmlscript_p.h
@@ -227,9 +227,13 @@ public:
LocationSpan location;
// Used by compiler
+ struct SignalData {
+ int signalExpressionContextStack;
+ int functionIndex; // before gen() index in functionsToCompile, then index in runtime functions
+ };
union {
QQmlCompilerTypes::BindingReference *bindingReference;
- int signalExpressionContextStack;
+ SignalData signalData;
};
// Used in Property::ValueList lists