diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2016-02-25 11:15:17 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-03-06 14:25:53 +0000 |
commit | 30ab43463c4b70f0ca9643d163e4e46c62133415 (patch) | |
tree | 217151b9f4e9542afbbc3a94e99dd2d23fd8bf3d /src/qml/jsruntime/qv4util_p.h | |
parent | c020bc671b30ea90f6bacd8bf6cd26ce5e808a6b (diff) |
V4: tweak Phi node data destruction.
Phi nodes can only occur at the start of a basic block. If there are
any, they need to be subsequent to eachother, and the first phi node
should be the first statement in the basic-block. A number of loops rely
on this behavior, so they don't need to walk through the whole list of
instructions in a basic-block (e.g. the calls to destroyData in
BasicBlock::~BasicBlock).
Change-Id: I57763bc6abae271337b0b169cccd26e10ecd9b2d
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4util_p.h')
0 files changed, 0 insertions, 0 deletions