diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-27 14:40:26 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-08-10 10:05:01 +0000 |
commit | dc341e6c1c524330b838a62ceeaa148a01dc0729 (patch) | |
tree | e42e93b6af0ecb347d4f3850b8e04acd796a4b66 /src/quick/scenegraph | |
parent | e01bea8999d2f58add58874bd3e6792f509b131b (diff) |
Change data collection for debugging to use QV4::Value.
This patch changes the variable collection to store QV4::Value values
into a JS array, which is retained by the collector. This prevents any
GC issues, and gives a nice mapping from handle (used in the debugging
protocol) to JS value. It also allows for easy "shallow" object
serialization: any lookup can start with the QV4::Value, and add any
values it encounters to the array.
Testing is changed to use this collector directly, thereby testing the
class that is actually used to generate protocol data.
Task-number: QTBUG-47061
Change-Id: Iec75c4f74c08495e2a8af0fedf304f76f8385fd7
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph')
0 files changed, 0 insertions, 0 deletions