Reduce memory usage of QV4Bindings::Subscription by 8 bytes.
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Fri, 24 Aug 2012 13:28:46 +0000 (15:28 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Aug 2012 04:21:58 +0000 (06:21 +0200)
commit0cae9f87c8ed351f605ccb31e3dda3143028a484
treea578e40d891eca2ee95550bc3b74446bc1e8a909
parent87679b3499e68957998b98bf13b6d98b3aa8b4c3
Reduce memory usage of QV4Bindings::Subscription by 8 bytes.

There is no need to store the method, as it can be calculated via
pointer arithmetic.
That leaves the active flag, which now is the last bit of the bindings
pointer.

Change-Id: I17b443e63be2d950aa80ad15cc76372b415c3dd6
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v4/qv4bindings_p.h