V4 regalloc: fix register spill choice under high pressure.
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 23 Apr 2014 13:13:56 +0000 (15:13 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 24 Apr 2014 13:36:48 +0000 (15:36 +0200)
commit4f3a02c7cde6589ecbdbc4f0dcf20793d2d604db
tree90bdd27d5c9a8056e150c17295aab294990091de
parentdfdf8116fee7db9cd52a95053724decc39895aa1
V4 regalloc: fix register spill choice under high pressure.

When a register is needed for an input parameter of an operation, and
all registers are already in use, do not select a register for spilling
when it is also used in the current operation.

Task-number: QTBUG-38451
Change-Id: I4a8f28cbaadce2dbb9d0c450ccac0ed572936c24
Reviewed-by: Albert Astals Cid <albert.astals@canonical.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jit/qv4regalloc.cpp