diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-05-13 16:32:35 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-06 14:50:52 +0200 |
commit | 4a127e3b2e98c1d690d9baf346e4d3ee8aa4edf1 (patch) | |
tree | c1abde3de9c028a05af7ffd6ff8abb92588b5b61 /src/qml/compiler/qv4jsir_p.h | |
parent | f99ddc62ea468bff2700860e30d29be91d74473e (diff) |
V4 IR: Store positions for life-time intervals outside the statement.
The statement ids are now stable, so the life-time interval calculation
can re-use information calculated by the optimizer. This re-use will
be done in a separate patch.
It also allows for changes to the numbering in a non-intrusive way. This
will also come in a later patch.
Change-Id: Ie3a2e1d9e3537cc8070ff3e3007f3a5e8ca0579a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4jsir_p.h')
-rw-r--r-- | src/qml/compiler/qv4jsir_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4jsir_p.h b/src/qml/compiler/qv4jsir_p.h index 6b2f4a90a7..0582a1a0ee 100644 --- a/src/qml/compiler/qv4jsir_p.h +++ b/src/qml/compiler/qv4jsir_p.h @@ -1045,7 +1045,6 @@ struct Function { unsigned getNewStatementId() { return _statementCount++; } unsigned statementCount() const { return _statementCount; } - void renumberForLifeRanges(); private: QVector<BasicBlock *> _basicBlocks; |