diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-01-09 12:11:09 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2015-01-12 11:04:15 +0100 |
commit | 5e8008dcbff056eecdca779153804bf3cd5acf85 (patch) | |
tree | 0934992b226961a3a91858cdd389c96f07db7870 /src/qml/jsruntime/qv4functionobject_p.h | |
parent | 4f28d07b8efbe9dfe12a08c8198d99225faa1331 (diff) |
Get rid of the bindingKeyFlag
Instead use the vtable to identify that we have a
binding function.
Change-Id: I794aebb6fb83f648ba36f2f15cad94d2af3cae91
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h index 7406e9b0ff..d3053ce283 100644 --- a/src/qml/jsruntime/qv4functionobject_p.h +++ b/src/qml/jsruntime/qv4functionobject_p.h @@ -143,7 +143,7 @@ struct Q_QML_EXPORT FunctionObject: Object { bool needsActivation() const { return d()->needsActivation; } bool strictMode() const { return d()->function ? d()->function->isStrict() : false; } - bool bindingKeyFlag() const { return d()->bindingKeyFlag; } + bool isBinding() const; static void markObjects(Heap::Base *that, ExecutionEngine *e); }; |